export P_SetTwitchInfo
code
proc P_SetTwitchInfo 4 0
file "../g_active.c"
line 11
;1:// Copyright (C) 1999-2000 Id Software, Inc.
;2://
;3:
;4:#include "g_local.h"
;5:
;6:qboolean PM_SaberInTransition( int move );
;7:qboolean PM_SaberInStart( int move );
;8:qboolean PM_SaberInReturn( int move );
;9:
;10:void P_SetTwitchInfo(gclient_t	*client)
;11:{
line 12
;12:	client->ps.painTime = level.time;
ADDRFP4 0
INDIRP4
CNSTI4 192
ADDP4
ADDRGP4 level+32
INDIRI4
ASGNI4
line 13
;13:	client->ps.painDirection ^= 1;
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 196
ADDP4
ASGNP4
ADDRLP4 0
INDIRP4
ADDRLP4 0
INDIRP4
INDIRI4
CNSTI4 1
BXORI4
ASGNI4
line 14
;14:}
LABELV $78
endproc P_SetTwitchInfo 4 0
export M_StringEscapeToEnters
proc M_StringEscapeToEnters 16 0
line 22
;15:/*
;16:=================
;17:M_StringEscapeToEnters
;18:
;19:=================
;20:*/
;21:void M_StringEscapeToEnters( char * source, char * dest, int bufsize )
;22:{
line 25
;23:	int is, id; // source and destination
;24:
;25:	is = 0;
ADDRLP4 0
CNSTI4 0
ASGNI4
line 26
;26:	id = 0;
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRGP4 $82
JUMPV
LABELV $81
line 29
;27:
;28:	while ( source[is] != 0 && is < bufsize - 1)
;29:	{
line 31
;30:		char toCopy;
;31:		if( source[is] == '\\' ){ // Found escape character?
ADDRLP4 0
INDIRI4
ADDRFP4 0
INDIRP4
ADDP4
INDIRI1
CVII4 1
CNSTI4 92
NEI4 $84
line 32
;32:			if( is + 1 < bufsize && source[is + 1] == 'n'){
ADDRLP4 12
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 12
INDIRI4
ADDRFP4 8
INDIRI4
GEI4 $86
ADDRLP4 12
INDIRI4
ADDRFP4 0
INDIRP4
ADDP4
INDIRI1
CVII4 1
CNSTI4 110
NEI4 $86
line 34
;33:				// Found new line
;34:				toCopy = '\n';
ADDRLP4 8
CNSTI1 10
ASGNI1
line 35
;35:				is ++;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
line 36
;36:			}
ADDRGP4 $85
JUMPV
LABELV $86
line 37
;37:			else {
line 39
;38:				// No new line, just copy backslash:
;39:				toCopy = '\\';
ADDRLP4 8
CNSTI1 92
ASGNI1
line 40
;40:			}
line 41
;41:		}
ADDRGP4 $85
JUMPV
LABELV $84
line 42
;42:		else{
line 44
;43:			// Just copy character.
;44:			toCopy = source[is];
ADDRLP4 8
ADDRLP4 0
INDIRI4
ADDRFP4 0
INDIRP4
ADDP4
INDIRI1
ASGNI1
line 45
;45:		}
LABELV $85
line 47
;46:
;47:		dest[id] = toCopy;
ADDRLP4 4
INDIRI4
ADDRFP4 4
INDIRP4
ADDP4
ADDRLP4 8
INDIRI1
ASGNI1
line 48
;48:		id ++;
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
line 49
;49:		is ++;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
line 50
;50:	}
LABELV $82
line 28
ADDRLP4 0
INDIRI4
ADDRFP4 0
INDIRP4
ADDP4
INDIRI1
CVII4 1
CNSTI4 0
EQI4 $88
ADDRLP4 0
INDIRI4
ADDRFP4 8
INDIRI4
CNSTI4 1
SUBI4
LTI4 $81
LABELV $88
line 52
;51:
;52:	dest[id] = 0;
ADDRLP4 4
INDIRI4
ADDRFP4 4
INDIRP4
ADDP4
CNSTI1 0
ASGNI1
line 53
;53:}
LABELV $80
endproc M_StringEscapeToEnters 16 0
export P_DamageFeedback
proc P_DamageFeedback 48 12
line 66
;54:
;55:
;56:/*
;57:===============
;58:G_DamageFeedback
;59:
;60:Called just before a snapshot is sent to the given player.
;61:Totals up all damage and generates both the player_state_t
;62:damage values to that client for pain blends and kicks, and
;63:global pain sound events for all clients.
;64:===============
;65:*/
;66:void P_DamageFeedback( gentity_t *player ) {
line 71
;67:	gclient_t	*client;
;68:	float	count;
;69:	vec3_t	angles;
;70:
;71:	client = player->client;
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
line 72
;72:	if ( client->ps.pm_type == PM_DEAD ) {
ADDRLP4 20
CNSTI4 4
ASGNI4
ADDRLP4 0
INDIRP4
ADDRLP4 20
INDIRI4
ADDP4
INDIRI4
ADDRLP4 20
INDIRI4
NEI4 $90
line 73
;73:		return;
ADDRGP4 $89
JUMPV
LABELV $90
line 77
;74:	}
;75:
;76:	// total points of damage shot at the player this frame
;77:	count = client->damage_blood + client->damage_armor;
ADDRLP4 4
ADDRLP4 0
INDIRP4
CNSTI4 1800
ADDP4
INDIRI4
ADDRLP4 0
INDIRP4
CNSTI4 1796
ADDP4
INDIRI4
ADDI4
CVIF4 4
ASGNF4
line 78
;78:	if ( count == 0 ) {
ADDRLP4 4
INDIRF4
CNSTF4 0
NEF4 $92
line 79
;79:		return;		// didn't take any damage
ADDRGP4 $89
JUMPV
LABELV $92
line 82
;80:	}
;81:
;82:	if ( count > 255 ) {
ADDRLP4 4
INDIRF4
CNSTF4 1132396544
LEF4 $94
line 83
;83:		count = 255;
ADDRLP4 4
CNSTF4 1132396544
ASGNF4
line 84
;84:	}
LABELV $94
line 90
;85:
;86:	// send the information to the client
;87:
;88:	// world damage (falling, slime, etc) uses a special code
;89:	// to make the blend blob centered instead of positional
;90:	if ( client->damage_fromWorld ) {
ADDRLP4 0
INDIRP4
CNSTI4 1820
ADDP4
INDIRI4
CNSTI4 0
EQI4 $96
line 91
;91:		client->ps.damagePitch = 255;
ADDRLP4 0
INDIRP4
CNSTI4 180
ADDP4
CNSTI4 255
ASGNI4
line 92
;92:		client->ps.damageYaw = 255;
ADDRLP4 0
INDIRP4
CNSTI4 176
ADDP4
CNSTI4 255
ASGNI4
line 94
;93:
;94:		client->damage_fromWorld = qfalse;
ADDRLP4 0
INDIRP4
CNSTI4 1820
ADDP4
CNSTI4 0
ASGNI4
line 95
;95:	} else {
ADDRGP4 $97
JUMPV
LABELV $96
line 96
;96:		vectoangles( client->damage_from, angles );
ADDRLP4 0
INDIRP4
CNSTI4 1808
ADDP4
ARGP4
ADDRLP4 8
ARGP4
ADDRGP4 vectoangles
CALLV
pop
line 97
;97:		client->ps.damagePitch = angles[PITCH]/360.0 * 256;
ADDRLP4 0
INDIRP4
CNSTI4 180
ADDP4
CNSTF4 1132462080
ADDRLP4 8
INDIRF4
CNSTF4 1135869952
DIVF4
MULF4
CVFI4 4
ASGNI4
line 98
;98:		client->ps.damageYaw = angles[YAW]/360.0 * 256;
ADDRLP4 0
INDIRP4
CNSTI4 176
ADDP4
CNSTF4 1132462080
ADDRLP4 8+4
INDIRF4
CNSTF4 1135869952
DIVF4
MULF4
CVFI4 4
ASGNI4
line 99
;99:	}
LABELV $97
line 102
;100:
;101:	// play an apropriate pain sound
;102:	if ( (level.time > player->pain_debounce_time) && !(player->flags & FL_GODMODE) ) {
ADDRLP4 28
ADDRFP4 0
INDIRP4
ASGNP4
ADDRGP4 level+32
INDIRI4
ADDRLP4 28
INDIRP4
CNSTI4 664
ADDP4
INDIRI4
LEI4 $99
ADDRLP4 28
INDIRP4
CNSTI4 472
ADDP4
INDIRI4
CNSTI4 16
BANDI4
CNSTI4 0
NEI4 $99
line 105
;103:
;104:		// don't do more than two pain sounds a second
;105:		if ( level.time - client->ps.painTime < 500 ) {
ADDRGP4 level+32
INDIRI4
ADDRLP4 0
INDIRP4
CNSTI4 192
ADDP4
INDIRI4
SUBI4
CNSTI4 500
GEI4 $102
line 106
;106:			return;
ADDRGP4 $89
JUMPV
LABELV $102
line 108
;107:		}
;108:		P_SetTwitchInfo(client);
ADDRLP4 0
INDIRP4
ARGP4
ADDRGP4 P_SetTwitchInfo
CALLV
pop
line 109
;109:		player->pain_debounce_time = level.time + 700;
ADDRFP4 0
INDIRP4
CNSTI4 664
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 700
ADDI4
ASGNI4
line 110
;110:		G_AddEvent( player, EV_PAIN, player->health );
ADDRLP4 32
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 32
INDIRP4
ARGP4
CNSTI4 77
ARGI4
ADDRLP4 32
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 111
;111:		client->ps.damageEvent++;
ADDRLP4 36
ADDRLP4 0
INDIRP4
CNSTI4 172
ADDP4
ASGNP4
ADDRLP4 36
INDIRP4
ADDRLP4 36
INDIRP4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
line 113
;112:
;113:		if (client->damage_armor && !client->damage_blood)
ADDRLP4 44
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1796
ADDP4
INDIRI4
ADDRLP4 44
INDIRI4
EQI4 $106
ADDRLP4 0
INDIRP4
CNSTI4 1800
ADDP4
INDIRI4
ADDRLP4 44
INDIRI4
NEI4 $106
line 114
;114:		{
line 115
;115:			client->ps.damageType = 1; //pure shields
ADDRLP4 0
INDIRP4
CNSTI4 188
ADDP4
CNSTI4 1
ASGNI4
line 116
;116:		}
ADDRGP4 $107
JUMPV
LABELV $106
line 117
;117:		else if (client->damage_armor)
ADDRLP4 0
INDIRP4
CNSTI4 1796
ADDP4
INDIRI4
CNSTI4 0
EQI4 $108
line 118
;118:		{
line 119
;119:			client->ps.damageType = 2; //shields and health
ADDRLP4 0
INDIRP4
CNSTI4 188
ADDP4
CNSTI4 2
ASGNI4
line 120
;120:		}
ADDRGP4 $109
JUMPV
LABELV $108
line 122
;121:		else
;122:		{
line 123
;123:			client->ps.damageType = 0; //pure health
ADDRLP4 0
INDIRP4
CNSTI4 188
ADDP4
CNSTI4 0
ASGNI4
line 124
;124:		}
LABELV $109
LABELV $107
line 125
;125:	}
LABELV $99
line 128
;126:
;127:
;128:	client->ps.damageCount = count;
ADDRLP4 0
INDIRP4
CNSTI4 184
ADDP4
ADDRLP4 4
INDIRF4
CVFI4 4
ASGNI4
line 133
;129:
;130:	//
;131:	// clear totals
;132:	//
;133:	client->damage_blood = 0;
ADDRLP4 0
INDIRP4
CNSTI4 1800
ADDP4
CNSTI4 0
ASGNI4
line 134
;134:	client->damage_armor = 0;
ADDRLP4 0
INDIRP4
CNSTI4 1796
ADDP4
CNSTI4 0
ASGNI4
line 135
;135:	client->damage_knockback = 0;
ADDRLP4 0
INDIRP4
CNSTI4 1804
ADDP4
CNSTI4 0
ASGNI4
line 136
;136:}
LABELV $89
endproc P_DamageFeedback 48 12
export P_WorldEffects
proc P_WorldEffects 40 32
line 147
;137:
;138:
;139:
;140:/*
;141:=============
;142:P_WorldEffects
;143:
;144:Check for lava / slime contents and drowning
;145:=============
;146:*/
;147:void P_WorldEffects( gentity_t *ent ) {
line 151
;148:	qboolean	envirosuit;
;149:	int			waterlevel;
;150:
;151:	if ( ent->client->noclip ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1764
ADDP4
INDIRI4
CNSTI4 0
EQI4 $111
line 152
;152:		ent->client->airOutTime = level.time + 12000;	// don't need air
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1876
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 12000
ADDI4
ASGNI4
line 153
;153:		return;
ADDRGP4 $110
JUMPV
LABELV $111
line 156
;154:	}
;155:
;156:	waterlevel = ent->waterlevel;
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 748
ADDP4
INDIRI4
ASGNI4
line 158
;157:
;158:	envirosuit = ent->client->ps.powerups[PW_BATTLESUIT] > level.time;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 352
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
LEI4 $116
ADDRLP4 8
CNSTI4 1
ASGNI4
ADDRGP4 $117
JUMPV
LABELV $116
ADDRLP4 8
CNSTI4 0
ASGNI4
LABELV $117
ADDRLP4 4
ADDRLP4 8
INDIRI4
ASGNI4
line 163
;159:
;160:	//
;161:	// check for drowning
;162:	//
;163:	if ( waterlevel == 3 ) {
ADDRLP4 0
INDIRI4
CNSTI4 3
NEI4 $118
line 165
;164:		// envirosuit give air
;165:		if ( envirosuit ) {
ADDRLP4 4
INDIRI4
CNSTI4 0
EQI4 $120
line 166
;166:			ent->client->airOutTime = level.time + 10000;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1876
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 10000
ADDI4
ASGNI4
line 167
;167:		}
LABELV $120
line 170
;168:
;169:		// if out of air, start drowning
;170:		if ( ent->client->airOutTime < level.time) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1876
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
GEI4 $119
line 172
;171:			// drown!
;172:			ent->client->airOutTime += 1000;
ADDRLP4 12
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1876
ADDP4
ASGNP4
ADDRLP4 12
INDIRP4
ADDRLP4 12
INDIRP4
INDIRI4
CNSTI4 1000
ADDI4
ASGNI4
line 173
;173:			if ( ent->health > 0 ) {
ADDRFP4 0
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
CNSTI4 0
LEI4 $119
line 175
;174:				// take more damage the longer underwater
;175:				ent->damage += 2;
ADDRLP4 16
ADDRFP4 0
INDIRP4
CNSTI4 688
ADDP4
ASGNP4
ADDRLP4 16
INDIRP4
ADDRLP4 16
INDIRP4
INDIRI4
CNSTI4 2
ADDI4
ASGNI4
line 176
;176:				if (ent->damage > 15)
ADDRFP4 0
INDIRP4
CNSTI4 688
ADDP4
INDIRI4
CNSTI4 15
LEI4 $128
line 177
;177:					ent->damage = 15;
ADDRFP4 0
INDIRP4
CNSTI4 688
ADDP4
CNSTI4 15
ASGNI4
LABELV $128
line 180
;178:
;179:				// play a gurp sound instead of a normal pain sound
;180:				if (ent->health <= ent->damage) {
ADDRLP4 20
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 20
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ADDRLP4 20
INDIRP4
CNSTI4 688
ADDP4
INDIRI4
GTI4 $130
line 181
;181:					G_Sound(ent, CHAN_VOICE, G_SoundIndex(/*"*drown.wav"*/"sound/player/gurp1.wav"));
ADDRGP4 $132
ARGP4
ADDRLP4 24
ADDRGP4 G_SoundIndex
CALLI4
ASGNI4
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 3
ARGI4
ADDRLP4 24
INDIRI4
ARGI4
ADDRGP4 G_Sound
CALLV
pop
line 182
;182:				} else if (rand()&1) {
ADDRGP4 $131
JUMPV
LABELV $130
ADDRLP4 24
ADDRGP4 rand
CALLI4
ASGNI4
ADDRLP4 24
INDIRI4
CNSTI4 1
BANDI4
CNSTI4 0
EQI4 $133
line 183
;183:					G_Sound(ent, CHAN_VOICE, G_SoundIndex("sound/player/gurp1.wav"));
ADDRGP4 $132
ARGP4
ADDRLP4 28
ADDRGP4 G_SoundIndex
CALLI4
ASGNI4
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 3
ARGI4
ADDRLP4 28
INDIRI4
ARGI4
ADDRGP4 G_Sound
CALLV
pop
line 184
;184:				} else {
ADDRGP4 $134
JUMPV
LABELV $133
line 185
;185:					G_Sound(ent, CHAN_VOICE, G_SoundIndex("sound/player/gurp2.wav"));
ADDRGP4 $135
ARGP4
ADDRLP4 28
ADDRGP4 G_SoundIndex
CALLI4
ASGNI4
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 3
ARGI4
ADDRLP4 28
INDIRI4
ARGI4
ADDRGP4 G_Sound
CALLV
pop
line 186
;186:				}
LABELV $134
LABELV $131
line 189
;187:
;188:				// don't play a normal pain sound
;189:				ent->pain_debounce_time = level.time + 200;
ADDRFP4 0
INDIRP4
CNSTI4 664
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 200
ADDI4
ASGNI4
line 191
;190:
;191:				G_Damage (ent, NULL, NULL, NULL, NULL, 
ADDRLP4 28
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 28
INDIRP4
ARGP4
ADDRLP4 32
CNSTP4 0
ASGNP4
ADDRLP4 32
INDIRP4
ARGP4
ADDRLP4 32
INDIRP4
ARGP4
ADDRLP4 36
CNSTP4 0
ASGNP4
ADDRLP4 36
INDIRP4
ARGP4
ADDRLP4 36
INDIRP4
ARGP4
ADDRLP4 28
INDIRP4
CNSTI4 688
ADDP4
INDIRI4
ARGI4
CNSTI4 2
ARGI4
CNSTI4 29
ARGI4
ADDRGP4 G_Damage
CALLV
pop
line 193
;192:					ent->damage, DAMAGE_NO_ARMOR, MOD_WATER);
;193:			}
line 194
;194:		}
line 195
;195:	} else {
ADDRGP4 $119
JUMPV
LABELV $118
line 196
;196:		ent->client->airOutTime = level.time + 12000;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1876
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 12000
ADDI4
ASGNI4
line 197
;197:		ent->damage = 2;
ADDRFP4 0
INDIRP4
CNSTI4 688
ADDP4
CNSTI4 2
ASGNI4
line 198
;198:	}
LABELV $119
line 203
;199:
;200:	//
;201:	// check for sizzle damage (move to pmove?)
;202:	//
;203:	if (waterlevel && 
ADDRLP4 12
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRI4
ADDRLP4 12
INDIRI4
EQI4 $138
ADDRFP4 0
INDIRP4
CNSTI4 744
ADDP4
INDIRI4
CNSTI4 131074
BANDI4
ADDRLP4 12
INDIRI4
EQI4 $138
line 204
;204:		(ent->watertype&(CONTENTS_LAVA|CONTENTS_SLIME)) ) {
line 205
;205:		if (ent->health > 0
ADDRLP4 16
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 16
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
CNSTI4 0
LEI4 $140
ADDRLP4 16
INDIRP4
CNSTI4 664
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
GTI4 $140
line 206
;206:			&& ent->pain_debounce_time <= level.time	) {
line 208
;207:
;208:			if ( envirosuit ) {
ADDRLP4 4
INDIRI4
CNSTI4 0
EQI4 $143
line 209
;209:				G_AddEvent( ent, EV_POWERUP_BATTLESUIT, 0 );
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 83
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 210
;210:			} else {
ADDRGP4 $144
JUMPV
LABELV $143
line 211
;211:				if (ent->watertype & CONTENTS_LAVA) {
ADDRFP4 0
INDIRP4
CNSTI4 744
ADDP4
INDIRI4
CNSTI4 2
BANDI4
CNSTI4 0
EQI4 $145
line 212
;212:					G_Damage (ent, NULL, NULL, NULL, NULL, 
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 20
CNSTP4 0
ASGNP4
ADDRLP4 20
INDIRP4
ARGP4
ADDRLP4 20
INDIRP4
ARGP4
ADDRLP4 24
CNSTP4 0
ASGNP4
ADDRLP4 24
INDIRP4
ARGP4
ADDRLP4 24
INDIRP4
ARGP4
CNSTI4 30
ADDRLP4 0
INDIRI4
MULI4
ARGI4
CNSTI4 0
ARGI4
CNSTI4 31
ARGI4
ADDRGP4 G_Damage
CALLV
pop
line 214
;213:						30*waterlevel, 0, MOD_LAVA);
;214:				}
LABELV $145
line 216
;215:
;216:				if (ent->watertype & CONTENTS_SLIME) {
ADDRFP4 0
INDIRP4
CNSTI4 744
ADDP4
INDIRI4
CNSTI4 131072
BANDI4
CNSTI4 0
EQI4 $147
line 217
;217:					G_Damage (ent, NULL, NULL, NULL, NULL, 
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 20
CNSTP4 0
ASGNP4
ADDRLP4 20
INDIRP4
ARGP4
ADDRLP4 20
INDIRP4
ARGP4
ADDRLP4 24
CNSTP4 0
ASGNP4
ADDRLP4 24
INDIRP4
ARGP4
ADDRLP4 24
INDIRP4
ARGP4
CNSTI4 10
ADDRLP4 0
INDIRI4
MULI4
ARGI4
CNSTI4 0
ARGI4
CNSTI4 30
ARGI4
ADDRGP4 G_Damage
CALLV
pop
line 219
;218:						10*waterlevel, 0, MOD_SLIME);
;219:				}
LABELV $147
line 220
;220:			}
LABELV $144
line 221
;221:		}
LABELV $140
line 222
;222:	}
LABELV $138
line 223
;223:}
LABELV $110
endproc P_WorldEffects 40 32
export DoImpact
proc DoImpact 96 32
line 232
;224:
;225:
;226:
;227:
;228:
;229://==============================================================
;230:extern void G_ApplyKnockback( gentity_t *targ, vec3_t newDir, float knockback );
;231:void DoImpact( gentity_t *self, gentity_t *other, qboolean damageSelf )
;232:{
line 237
;233:	float magnitude, my_mass;
;234:	vec3_t	velocity;
;235:	int cont;
;236:
;237:	if( self->client )
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $150
line 238
;238:	{
line 239
;239:		VectorCopy( self->client->ps.velocity, velocity );
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 32
ADDP4
INDIRB
ASGNB 12
line 240
;240:		my_mass = self->mass;
ADDRLP4 16
ADDRFP4 0
INDIRP4
CNSTI4 624
ADDP4
INDIRF4
ASGNF4
line 241
;241:	}
ADDRGP4 $151
JUMPV
LABELV $150
line 243
;242:	else 
;243:	{
line 244
;244:		VectorCopy( self->s.pos.trDelta, velocity );
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 36
ADDP4
INDIRB
ASGNB 12
line 245
;245:		if ( self->s.pos.trType == TR_GRAVITY )
ADDRFP4 0
INDIRP4
CNSTI4 12
ADDP4
INDIRI4
CNSTI4 5
NEI4 $152
line 246
;246:		{
line 247
;247:			velocity[2] -= 0.25f * g_gravity.value;
ADDRLP4 4+8
ADDRLP4 4+8
INDIRF4
CNSTF4 1048576000
ADDRGP4 g_gravity+8
INDIRF4
MULF4
SUBF4
ASGNF4
line 248
;248:		}
LABELV $152
line 249
;249:		if( !self->mass )
ADDRFP4 0
INDIRP4
CNSTI4 624
ADDP4
INDIRF4
CNSTF4 0
NEF4 $156
line 250
;250:		{
line 251
;251:			my_mass = 1;
ADDRLP4 16
CNSTF4 1065353216
ASGNF4
line 252
;252:		}
ADDRGP4 $157
JUMPV
LABELV $156
line 253
;253:		else if ( self->mass <= 10 )
ADDRFP4 0
INDIRP4
CNSTI4 624
ADDP4
INDIRF4
CNSTF4 1092616192
GTF4 $158
line 254
;254:		{
line 255
;255:			my_mass = 10;
ADDRLP4 16
CNSTF4 1092616192
ASGNF4
line 256
;256:		}
ADDRGP4 $159
JUMPV
LABELV $158
line 258
;257:		else
;258:		{
line 259
;259:			my_mass = self->mass;///10;
ADDRLP4 16
ADDRFP4 0
INDIRP4
CNSTI4 624
ADDP4
INDIRF4
ASGNF4
line 260
;260:		}
LABELV $159
LABELV $157
line 261
;261:	}
LABELV $151
line 263
;262:
;263:	magnitude = VectorLength( velocity ) * my_mass / 10;
ADDRLP4 4
ARGP4
ADDRLP4 24
ADDRGP4 VectorLength
CALLF4
ASGNF4
ADDRLP4 0
ADDRLP4 24
INDIRF4
ADDRLP4 16
INDIRF4
MULF4
CNSTF4 1092616192
DIVF4
ASGNF4
line 276
;264:
;265:	/*
;266:	if(pointcontents(self.absmax)==CONTENT_WATER)//FIXME: or other watertypes
;267:		magnitude/=3;							//water absorbs 2/3 velocity
;268:
;269:	if(self.classname=="barrel"&&self.aflag)//rolling barrels are made for impacts!
;270:		magnitude*=3;
;271:
;272:	if(self.frozen>0&&magnitude<300&&self.flags&FL_ONGROUND&&loser==world&&self.velocity_z<-20&&self.last_onground+0.3<time)
;273:		magnitude=300;
;274:	*/
;275:
;276:	if ( !self->client || self->client->ps.lastOnGround+300<level.time || ( self->client->ps.lastOnGround+100 < level.time && other->material >= MAT_GLASS ) )
ADDRLP4 28
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 28
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $165
ADDRLP4 32
ADDRLP4 28
INDIRP4
CNSTI4 500
ADDP4
INDIRI4
ASGNI4
ADDRLP4 32
INDIRI4
CNSTI4 300
ADDI4
ADDRGP4 level+32
INDIRI4
LTI4 $165
ADDRLP4 32
INDIRI4
CNSTI4 100
ADDI4
ADDRGP4 level+32
INDIRI4
GEI4 $160
ADDRFP4 4
INDIRP4
CNSTI4 684
ADDP4
INDIRI4
CNSTI4 1
LTI4 $160
LABELV $165
line 277
;277:	{
line 279
;278:		vec3_t dir1, dir2;
;279:		float force = 0, dot;
ADDRLP4 36
CNSTF4 0
ASGNF4
line 281
;280:
;281:		if ( other->material >= MAT_GLASS )
ADDRFP4 4
INDIRP4
CNSTI4 684
ADDP4
INDIRI4
CNSTI4 1
LTI4 $166
line 282
;282:			magnitude *= 2;
ADDRLP4 0
CNSTF4 1073741824
ADDRLP4 0
INDIRF4
MULF4
ASGNF4
LABELV $166
line 285
;283:
;284:		//damage them
;285:		if ( magnitude >= 100 && other->s.number < ENTITYNUM_WORLD )
ADDRLP4 0
INDIRF4
CNSTF4 1120403456
LTF4 $168
ADDRFP4 4
INDIRP4
INDIRI4
CNSTI4 1022
GEI4 $168
line 286
;286:		{
line 287
;287:			VectorCopy( velocity, dir1 );
ADDRLP4 52
ADDRLP4 4
INDIRB
ASGNB 12
line 288
;288:			VectorNormalize( dir1 );
ADDRLP4 52
ARGP4
ADDRGP4 VectorNormalize
CALLF4
pop
line 289
;289:			if( VectorCompare( other->r.currentOrigin, vec3_origin ) )
ADDRFP4 4
INDIRP4
CNSTI4 368
ADDP4
ARGP4
ADDRGP4 vec3_origin
ARGP4
ADDRLP4 68
ADDRGP4 VectorCompare
CALLI4
ASGNI4
ADDRLP4 68
INDIRI4
CNSTI4 0
EQI4 $170
line 290
;290:			{//a brush with no origin
line 291
;291:				VectorCopy ( dir1, dir2 );
ADDRLP4 40
ADDRLP4 52
INDIRB
ASGNB 12
line 292
;292:			}
ADDRGP4 $171
JUMPV
LABELV $170
line 294
;293:			else
;294:			{
line 295
;295:				VectorSubtract( other->r.currentOrigin, self->r.currentOrigin, dir2 );
ADDRLP4 72
ADDRFP4 4
INDIRP4
ASGNP4
ADDRLP4 76
CNSTI4 368
ASGNI4
ADDRLP4 80
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 40
ADDRLP4 72
INDIRP4
ADDRLP4 76
INDIRI4
ADDP4
INDIRF4
ADDRLP4 80
INDIRP4
ADDRLP4 76
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 84
CNSTI4 372
ASGNI4
ADDRLP4 40+4
ADDRLP4 72
INDIRP4
ADDRLP4 84
INDIRI4
ADDP4
INDIRF4
ADDRLP4 80
INDIRP4
ADDRLP4 84
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 88
CNSTI4 376
ASGNI4
ADDRLP4 40+8
ADDRFP4 4
INDIRP4
ADDRLP4 88
INDIRI4
ADDP4
INDIRF4
ADDRFP4 0
INDIRP4
ADDRLP4 88
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
line 296
;296:				VectorNormalize( dir2 );
ADDRLP4 40
ARGP4
ADDRGP4 VectorNormalize
CALLF4
pop
line 297
;297:			}
LABELV $171
line 299
;298:
;299:			dot = DotProduct( dir1, dir2 );
ADDRLP4 64
ADDRLP4 52
INDIRF4
ADDRLP4 40
INDIRF4
MULF4
ADDRLP4 52+4
INDIRF4
ADDRLP4 40+4
INDIRF4
MULF4
ADDF4
ADDRLP4 52+8
INDIRF4
ADDRLP4 40+8
INDIRF4
MULF4
ADDF4
ASGNF4
line 301
;300:
;301:			if ( dot >= 0.2 )
ADDRLP4 64
INDIRF4
CNSTF4 1045220557
LTF4 $178
line 302
;302:			{
line 303
;303:				force = dot;
ADDRLP4 36
ADDRLP4 64
INDIRF4
ASGNF4
line 304
;304:			}
ADDRGP4 $179
JUMPV
LABELV $178
line 306
;305:			else
;306:			{
line 307
;307:				force = 0;
ADDRLP4 36
CNSTF4 0
ASGNF4
line 308
;308:			}
LABELV $179
line 310
;309:
;310:			force *= (magnitude/50);
ADDRLP4 36
ADDRLP4 36
INDIRF4
ADDRLP4 0
INDIRF4
CNSTF4 1112014848
DIVF4
MULF4
ASGNF4
line 312
;311:
;312:			cont = trap_PointContents( other->r.absmax, other->s.number );
ADDRLP4 72
ADDRFP4 4
INDIRP4
ASGNP4
ADDRLP4 72
INDIRP4
CNSTI4 356
ADDP4
ARGP4
ADDRLP4 72
INDIRP4
INDIRI4
ARGI4
ADDRLP4 76
ADDRGP4 trap_PointContents
CALLI4
ASGNI4
ADDRLP4 20
ADDRLP4 76
INDIRI4
ASGNI4
line 313
;313:			if( (cont&CONTENTS_WATER) )//|| (self.classname=="barrel"&&self.aflag))//FIXME: or other watertypes
ADDRLP4 20
INDIRI4
CNSTI4 4
BANDI4
CNSTI4 0
EQI4 $180
line 314
;314:			{
line 315
;315:				force /= 3;							//water absorbs 2/3 velocity
ADDRLP4 36
ADDRLP4 36
INDIRF4
CNSTF4 1077936128
DIVF4
ASGNF4
line 316
;316:			}
LABELV $180
line 323
;317:
;318:			/*
;319:			if(self.frozen>0&&force>10)
;320:				force=10;
;321:			*/
;322:
;323:			if( ( force >= 1 && other->s.number != 0 ) || force >= 10)
ADDRLP4 36
INDIRF4
CNSTF4 1065353216
LTF4 $185
ADDRFP4 4
INDIRP4
INDIRI4
CNSTI4 0
NEI4 $184
LABELV $185
ADDRLP4 36
INDIRF4
CNSTF4 1092616192
LTF4 $182
LABELV $184
line 324
;324:			{
line 332
;325:	/*			
;326:				dprint("Damage other (");
;327:				dprint(loser.classname);
;328:				dprint("): ");
;329:				dprint(ftos(force));
;330:				dprint("\n");
;331:	*/
;332:				if ( other->r.svFlags & SVF_GLASS_BRUSH )
ADDRFP4 4
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
CNSTI4 134217728
BANDI4
CNSTI4 0
EQI4 $186
line 333
;333:				{
line 334
;334:					other->splashRadius = (float)(self->r.maxs[0] - self->r.mins[0])/4.0f;
ADDRLP4 80
ADDRFP4 0
INDIRP4
ASGNP4
ADDRFP4 4
INDIRP4
CNSTI4 700
ADDP4
ADDRLP4 80
INDIRP4
CNSTI4 328
ADDP4
INDIRF4
ADDRLP4 80
INDIRP4
CNSTI4 316
ADDP4
INDIRF4
SUBF4
CNSTF4 1082130432
DIVF4
CVFI4 4
ASGNI4
line 335
;335:				}
LABELV $186
line 336
;336:				if ( other->takedamage )
ADDRFP4 4
INDIRP4
CNSTI4 680
ADDP4
INDIRI4
CNSTI4 0
EQI4 $188
line 337
;337:				{
line 338
;338:					G_Damage( other, self, self, velocity, self->r.currentOrigin, force, DAMAGE_NO_ARMOR, MOD_CRUSH);//FIXME: MOD_IMPACT
ADDRFP4 4
INDIRP4
ARGP4
ADDRLP4 80
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 80
INDIRP4
ARGP4
ADDRLP4 80
INDIRP4
ARGP4
ADDRLP4 4
ARGP4
ADDRLP4 80
INDIRP4
CNSTI4 368
ADDP4
ARGP4
ADDRLP4 36
INDIRF4
CVFI4 4
ARGI4
CNSTI4 2
ARGI4
CNSTI4 32
ARGI4
ADDRGP4 G_Damage
CALLV
pop
line 339
;339:				}
ADDRGP4 $189
JUMPV
LABELV $188
line 341
;340:				else
;341:				{
line 342
;342:					G_ApplyKnockback( other, dir2, force );
ADDRFP4 4
INDIRP4
ARGP4
ADDRLP4 40
ARGP4
ADDRLP4 36
INDIRF4
ARGF4
ADDRGP4 G_ApplyKnockback
CALLV
pop
line 343
;343:				}
LABELV $189
line 344
;344:			}
LABELV $182
line 345
;345:		}
LABELV $168
line 347
;346:
;347:		if ( damageSelf && self->takedamage )
ADDRLP4 68
CNSTI4 0
ASGNI4
ADDRFP4 8
INDIRI4
ADDRLP4 68
INDIRI4
EQI4 $190
ADDRFP4 0
INDIRP4
CNSTI4 680
ADDP4
INDIRI4
ADDRLP4 68
INDIRI4
EQI4 $190
line 348
;348:		{
line 351
;349:			//Now damage me
;350:			//FIXME: more lenient falling damage, especially for when driving a vehicle
;351:			if ( self->client && self->client->ps.fd.forceJumpZStart )
ADDRLP4 72
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 72
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $192
ADDRLP4 72
INDIRP4
CNSTI4 1092
ADDP4
INDIRF4
CNSTF4 0
EQF4 $192
line 352
;352:			{//we were force-jumping
line 353
;353:				if ( self->r.currentOrigin[2] >= self->client->ps.fd.forceJumpZStart )
ADDRLP4 76
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 76
INDIRP4
CNSTI4 376
ADDP4
INDIRF4
ADDRLP4 76
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1092
ADDP4
INDIRF4
LTF4 $194
line 354
;354:				{//we landed at same height or higher than we landed
line 355
;355:					magnitude = 0;
ADDRLP4 0
CNSTF4 0
ASGNF4
line 356
;356:				}
ADDRGP4 $195
JUMPV
LABELV $194
line 358
;357:				else
;358:				{//FIXME: take off some of it, at least?
line 359
;359:					magnitude = (self->client->ps.fd.forceJumpZStart-self->r.currentOrigin[2])/3;
ADDRLP4 80
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 0
ADDRLP4 80
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1092
ADDP4
INDIRF4
ADDRLP4 80
INDIRP4
CNSTI4 376
ADDP4
INDIRF4
SUBF4
CNSTF4 1077936128
DIVF4
ASGNF4
line 360
;360:				}
LABELV $195
line 361
;361:			}
LABELV $192
line 363
;362:			//if(self.classname!="monster_mezzoman"&&self.netname!="spider")//Cats always land on their feet
;363:				if( ( magnitude >= 100 + self->health && self->s.number != 0 && self->s.weapon != WP_SABER ) || ( magnitude >= 700 ) )//&& self.safe_time < level.time ))//health here is used to simulate structural integrity
ADDRLP4 76
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 0
INDIRF4
ADDRLP4 76
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
CNSTI4 100
ADDI4
CVIF4 4
LTF4 $200
ADDRLP4 76
INDIRP4
INDIRI4
CNSTI4 0
EQI4 $200
ADDRLP4 76
INDIRP4
CNSTI4 276
ADDP4
INDIRI4
CNSTI4 2
NEI4 $198
LABELV $200
ADDRLP4 0
INDIRF4
CNSTF4 1143930880
LTF4 $196
LABELV $198
line 364
;364:				{
line 365
;365:					if ( (self->s.weapon == WP_SABER || self->s.number == 0) && self->client && self->client->ps.groundEntityNum < ENTITYNUM_NONE && magnitude < 1000 )
ADDRLP4 80
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 80
INDIRP4
CNSTI4 276
ADDP4
INDIRI4
CNSTI4 2
EQI4 $203
ADDRLP4 80
INDIRP4
INDIRI4
CNSTI4 0
NEI4 $201
LABELV $203
ADDRLP4 84
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 84
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $201
ADDRLP4 84
INDIRP4
CNSTI4 84
ADDP4
INDIRI4
CNSTI4 1023
GEI4 $201
ADDRLP4 0
INDIRF4
CNSTF4 1148846080
GEF4 $201
line 366
;366:					{//players and jedi take less impact damage
line 368
;367:						//allow for some lenience on high falls
;368:						magnitude /= 2;
ADDRLP4 0
ADDRLP4 0
INDIRF4
CNSTF4 1073741824
DIVF4
ASGNF4
line 375
;369:						/*
;370:						if ( self.absorb_time >= time )//crouching on impact absorbs 1/2 the damage
;371:						{
;372:							magnitude/=2;
;373:						}
;374:						*/
;375:					}
LABELV $201
line 376
;376:					magnitude /= 40;
ADDRLP4 0
ADDRLP4 0
INDIRF4
CNSTF4 1109393408
DIVF4
ASGNF4
line 377
;377:					magnitude = magnitude - force/2;//If damage other, subtract half of that damage off of own injury
ADDRLP4 0
ADDRLP4 0
INDIRF4
ADDRLP4 36
INDIRF4
CNSTF4 1073741824
DIVF4
SUBF4
ASGNF4
line 378
;378:					if ( magnitude >= 1 )
ADDRLP4 0
INDIRF4
CNSTF4 1065353216
LTF4 $204
line 379
;379:					{
line 392
;380:		//FIXME: Put in a thingtype impact sound function
;381:		/*					
;382:						dprint("Damage self (");
;383:						dprint(self.classname);
;384:						dprint("): ");
;385:						dprint(ftos(magnitude));
;386:						dprint("\n");
;387:		*/
;388:						/*
;389:						if ( self.classname=="player_sheep "&& self.flags&FL_ONGROUND && self.velocity_z > -50 )
;390:							return;
;391:						*/
;392:						G_Damage( self, NULL, NULL, NULL, self->r.currentOrigin, magnitude/2, DAMAGE_NO_ARMOR, MOD_FALLING );//FIXME: MOD_IMPACT
ADDRLP4 88
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 88
INDIRP4
ARGP4
ADDRLP4 92
CNSTP4 0
ASGNP4
ADDRLP4 92
INDIRP4
ARGP4
ADDRLP4 92
INDIRP4
ARGP4
CNSTP4 0
ARGP4
ADDRLP4 88
INDIRP4
CNSTI4 368
ADDP4
ARGP4
ADDRLP4 0
INDIRF4
CNSTF4 1073741824
DIVF4
CVFI4 4
ARGI4
CNSTI4 2
ARGI4
CNSTI4 34
ARGI4
ADDRGP4 G_Damage
CALLV
pop
line 393
;393:					}
LABELV $204
line 394
;394:				}
LABELV $196
line 395
;395:		}
LABELV $190
line 406
;396:
;397:		//FIXME: slow my velocity some?
;398:
;399:		// NOTENOTE We don't use lastimpact as of yet
;400://		self->lastImpact = level.time;
;401:
;402:		/*
;403:		if(self.flags&FL_ONGROUND)
;404:			self.last_onground=time;
;405:		*/
;406:	}
LABELV $160
line 407
;407:}
LABELV $149
endproc DoImpact 96 32
export G_SetClientSound
proc G_SetClientSound 8 0
line 414
;408:
;409:/*
;410:===============
;411:G_SetClientSound
;412:===============
;413:*/
;414:void G_SetClientSound( gentity_t *ent ) {
line 415
;415:	if (ent->waterlevel && (ent->watertype&(CONTENTS_LAVA|CONTENTS_SLIME)) ) {
ADDRLP4 0
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 748
ADDP4
INDIRI4
ADDRLP4 4
INDIRI4
EQI4 $207
ADDRLP4 0
INDIRP4
CNSTI4 744
ADDP4
INDIRI4
CNSTI4 131074
BANDI4
ADDRLP4 4
INDIRI4
EQI4 $207
line 416
;416:		ent->client->ps.loopSound = level.snd_fry;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 476
ADDP4
ADDRGP4 level+220
INDIRI4
ASGNI4
line 417
;417:	} else {
ADDRGP4 $208
JUMPV
LABELV $207
line 418
;418:		ent->client->ps.loopSound = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 476
ADDP4
CNSTI4 0
ASGNI4
line 419
;419:	}
LABELV $208
line 420
;420:}
LABELV $206
endproc G_SetClientSound 8 0
export ClientImpacts
proc ClientImpacts 1100 12
line 431
;421:
;422:
;423:
;424://==============================================================
;425:
;426:/*
;427:==============
;428:ClientImpacts
;429:==============
;430:*/
;431:void ClientImpacts( gentity_t *ent, pmove_t *pm ) {
line 436
;432:	int		i, j;
;433:	trace_t	trace;
;434:	gentity_t	*other;
;435:
;436:	memset( &trace, 0, sizeof( trace ) );
ADDRLP4 12
ARGP4
CNSTI4 0
ARGI4
CNSTI4 1080
ARGI4
ADDRGP4 memset
CALLP4
pop
line 437
;437:	for (i=0 ; i<pm->numtouch ; i++) {
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRGP4 $214
JUMPV
LABELV $211
line 438
;438:		for (j=0 ; j<i ; j++) {
ADDRLP4 0
CNSTI4 0
ASGNI4
ADDRGP4 $218
JUMPV
LABELV $215
line 439
;439:			if (pm->touchents[j] == pm->touchents[i] ) {
ADDRLP4 1092
CNSTI4 2
ASGNI4
ADDRLP4 1096
ADDRFP4 4
INDIRP4
CNSTI4 56
ADDP4
ASGNP4
ADDRLP4 0
INDIRI4
ADDRLP4 1092
INDIRI4
LSHI4
ADDRLP4 1096
INDIRP4
ADDP4
INDIRI4
ADDRLP4 4
INDIRI4
ADDRLP4 1092
INDIRI4
LSHI4
ADDRLP4 1096
INDIRP4
ADDP4
INDIRI4
NEI4 $219
line 440
;440:				break;
ADDRGP4 $217
JUMPV
LABELV $219
line 442
;441:			}
;442:		}
LABELV $216
line 438
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $218
ADDRLP4 0
INDIRI4
ADDRLP4 4
INDIRI4
LTI4 $215
LABELV $217
line 443
;443:		if (j != i) {
ADDRLP4 0
INDIRI4
ADDRLP4 4
INDIRI4
EQI4 $221
line 444
;444:			continue;	// duplicated
ADDRGP4 $212
JUMPV
LABELV $221
line 446
;445:		}
;446:		other = &g_entities[ pm->touchents[i] ];
ADDRLP4 8
CNSTI4 852
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRFP4 4
INDIRP4
CNSTI4 56
ADDP4
ADDP4
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ASGNP4
line 448
;447:
;448:		if ( ( ent->r.svFlags & SVF_BOT ) && ( ent->touch ) ) {
ADDRLP4 1092
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 1092
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
CNSTI4 8
BANDI4
CNSTI4 0
EQI4 $223
ADDRLP4 1092
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $223
line 449
;449:			ent->touch( ent, other, &trace );
ADDRLP4 1096
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 1096
INDIRP4
ARGP4
ADDRLP4 8
INDIRP4
ARGP4
ADDRLP4 12
ARGP4
ADDRLP4 1096
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CALLV
pop
line 450
;450:		}
LABELV $223
line 452
;451:
;452:		if ( !other->touch ) {
ADDRLP4 8
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $225
line 453
;453:			continue;
ADDRGP4 $212
JUMPV
LABELV $225
line 456
;454:		}
;455:
;456:		other->touch( other, ent, &trace );
ADDRLP4 8
INDIRP4
ARGP4
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 12
ARGP4
ADDRLP4 8
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CALLV
pop
line 457
;457:	}
LABELV $212
line 437
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $214
ADDRLP4 4
INDIRI4
ADDRFP4 4
INDIRP4
CNSTI4 52
ADDP4
INDIRI4
LTI4 $211
line 459
;458:
;459:}
LABELV $210
endproc ClientImpacts 1100 12
data
align 4
LABELV $228
byte 4 1109393408
byte 4 1109393408
byte 4 1112539136
export G_TouchTriggers
code
proc G_TouchTriggers 5264 16
line 469
;460:
;461:/*
;462:============
;463:G_TouchTriggers
;464:
;465:Find all trigger entities that ent's current position touches.
;466:Spectators will only interact with teleporters.
;467:============
;468:*/
;469:void	G_TouchTriggers( gentity_t *ent ) {
line 477
;470:	int			i, num;
;471:	int			touch[MAX_GENTITIES];
;472:	gentity_t	*hit;
;473:	trace_t		trace;
;474:	vec3_t		mins, maxs;
;475:	static vec3_t	range = { 40, 40, 52 };
;476:
;477:	if ( !ent->client ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $229
line 478
;478:		return;
ADDRGP4 $227
JUMPV
LABELV $229
line 482
;479:	}
;480:
;481:	// dead clients don't activate triggers!
;482:	if ( ent->client->ps.stats[STAT_HEALTH] <= 0 ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 216
ADDP4
INDIRI4
CNSTI4 0
GTI4 $231
line 483
;483:		return;
ADDRGP4 $227
JUMPV
LABELV $231
line 486
;484:	}
;485:
;486:	VectorSubtract( ent->client->ps.origin, range, mins );
ADDRLP4 5212
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
ASGNP4
ADDRLP4 1088
ADDRLP4 5212
INDIRP4
INDIRP4
CNSTI4 20
ADDP4
INDIRF4
ADDRGP4 $228
INDIRF4
SUBF4
ASGNF4
ADDRLP4 1088+4
ADDRLP4 5212
INDIRP4
INDIRP4
CNSTI4 24
ADDP4
INDIRF4
ADDRGP4 $228+4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 1088+8
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 28
ADDP4
INDIRF4
ADDRGP4 $228+8
INDIRF4
SUBF4
ASGNF4
line 487
;487:	VectorAdd( ent->client->ps.origin, range, maxs );
ADDRLP4 5216
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
ASGNP4
ADDRLP4 1100
ADDRLP4 5216
INDIRP4
INDIRP4
CNSTI4 20
ADDP4
INDIRF4
ADDRGP4 $228
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1100+4
ADDRLP4 5216
INDIRP4
INDIRP4
CNSTI4 24
ADDP4
INDIRF4
ADDRGP4 $228+4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1100+8
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 28
ADDP4
INDIRF4
ADDRGP4 $228+8
INDIRF4
ADDF4
ASGNF4
line 489
;488:
;489:	num = trap_EntitiesInBox( mins, maxs, touch, MAX_GENTITIES );
ADDRLP4 1088
ARGP4
ADDRLP4 1100
ARGP4
ADDRLP4 1116
ARGP4
CNSTI4 1024
ARGI4
ADDRLP4 5220
ADDRGP4 trap_EntitiesInBox
CALLI4
ASGNI4
ADDRLP4 1112
ADDRLP4 5220
INDIRI4
ASGNI4
line 492
;490:
;491:	// can't use ent->r.absmin, because that has a one unit pad
;492:	VectorAdd( ent->client->ps.origin, ent->r.mins, mins );
ADDRLP4 5224
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 5228
ADDRLP4 5224
INDIRP4
CNSTI4 408
ADDP4
ASGNP4
ADDRLP4 1088
ADDRLP4 5228
INDIRP4
INDIRP4
CNSTI4 20
ADDP4
INDIRF4
ADDRLP4 5224
INDIRP4
CNSTI4 316
ADDP4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1088+4
ADDRLP4 5228
INDIRP4
INDIRP4
CNSTI4 24
ADDP4
INDIRF4
ADDRLP4 5224
INDIRP4
CNSTI4 320
ADDP4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 5232
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 1088+8
ADDRLP4 5232
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 28
ADDP4
INDIRF4
ADDRLP4 5232
INDIRP4
CNSTI4 324
ADDP4
INDIRF4
ADDF4
ASGNF4
line 493
;493:	VectorAdd( ent->client->ps.origin, ent->r.maxs, maxs );
ADDRLP4 5236
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 5240
ADDRLP4 5236
INDIRP4
CNSTI4 408
ADDP4
ASGNP4
ADDRLP4 1100
ADDRLP4 5240
INDIRP4
INDIRP4
CNSTI4 20
ADDP4
INDIRF4
ADDRLP4 5236
INDIRP4
CNSTI4 328
ADDP4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1100+4
ADDRLP4 5240
INDIRP4
INDIRP4
CNSTI4 24
ADDP4
INDIRF4
ADDRLP4 5236
INDIRP4
CNSTI4 332
ADDP4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 5244
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 1100+8
ADDRLP4 5244
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 28
ADDP4
INDIRF4
ADDRLP4 5244
INDIRP4
CNSTI4 336
ADDP4
INDIRF4
ADDF4
ASGNF4
line 495
;494:
;495:	for ( i=0 ; i<num ; i++ ) {
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRGP4 $248
JUMPV
LABELV $245
line 496
;496:		hit = &g_entities[touch[i]];
ADDRLP4 0
CNSTI4 852
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRLP4 1116
ADDP4
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ASGNP4
line 498
;497:
;498:		if ( !hit->touch && !ent->touch ) {
ADDRLP4 5248
CNSTI4 648
ASGNI4
ADDRLP4 5252
CNSTU4 0
ASGNU4
ADDRLP4 0
INDIRP4
ADDRLP4 5248
INDIRI4
ADDP4
INDIRP4
CVPU4 4
ADDRLP4 5252
INDIRU4
NEU4 $249
ADDRFP4 0
INDIRP4
ADDRLP4 5248
INDIRI4
ADDP4
INDIRP4
CVPU4 4
ADDRLP4 5252
INDIRU4
NEU4 $249
line 499
;499:			continue;
ADDRGP4 $246
JUMPV
LABELV $249
line 501
;500:		}
;501:		if ( !( hit->r.contents & CONTENTS_TRIGGER ) ) {
ADDRLP4 0
INDIRP4
CNSTI4 340
ADDP4
INDIRI4
CNSTI4 1024
BANDI4
CNSTI4 0
NEI4 $251
line 502
;502:			continue;
ADDRGP4 $246
JUMPV
LABELV $251
line 506
;503:		}
;504:
;505:		// ignore most entities if a spectator
;506:		if ( ent->client->sess.sessionTeam == TEAM_SPECTATOR ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1636
ADDP4
INDIRI4
CNSTI4 3
NEI4 $253
line 507
;507:			if ( hit->s.eType != ET_TELEPORT_TRIGGER &&
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRI4
CNSTI4 11
EQI4 $255
ADDRLP4 0
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CVPU4 4
ADDRGP4 Touch_DoorTrigger
CVPU4 4
EQU4 $255
line 510
;508:				// this is ugly but adding a new ET_? type will
;509:				// most likely cause network incompatibilities
;510:				hit->touch != Touch_DoorTrigger) {
line 511
;511:				continue;
ADDRGP4 $246
JUMPV
LABELV $255
line 513
;512:			}
;513:		}
LABELV $253
line 517
;514:
;515:		// use seperate code for determining if an item is picked up
;516:		// so you don't have to actually contact its bounding box
;517:		if ( hit->s.eType == ET_ITEM ) {
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRI4
CNSTI4 2
NEI4 $257
line 518
;518:			if ( !BG_PlayerTouchesItem( &ent->client->ps, &hit->s, level.time ) ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ARGP4
ADDRLP4 0
INDIRP4
ARGP4
ADDRGP4 level+32
INDIRI4
ARGI4
ADDRLP4 5256
ADDRGP4 BG_PlayerTouchesItem
CALLI4
ASGNI4
ADDRLP4 5256
INDIRI4
CNSTI4 0
NEI4 $258
line 519
;519:				continue;
ADDRGP4 $246
JUMPV
line 521
;520:			}
;521:		} else {
LABELV $257
line 522
;522:			if ( !trap_EntityContact( mins, maxs, hit ) ) {
ADDRLP4 1088
ARGP4
ADDRLP4 1100
ARGP4
ADDRLP4 0
INDIRP4
ARGP4
ADDRLP4 5256
ADDRGP4 trap_EntityContact
CALLI4
ASGNI4
ADDRLP4 5256
INDIRI4
CNSTI4 0
NEI4 $262
line 523
;523:				continue;
ADDRGP4 $246
JUMPV
LABELV $262
line 525
;524:			}
;525:		}
LABELV $258
line 527
;526:
;527:		memset( &trace, 0, sizeof(trace) );
ADDRLP4 8
ARGP4
CNSTI4 0
ARGI4
CNSTI4 1080
ARGI4
ADDRGP4 memset
CALLP4
pop
line 529
;528:
;529:		if ( hit->touch ) {
ADDRLP4 0
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $264
line 530
;530:			hit->touch (hit, ent, &trace);
ADDRLP4 0
INDIRP4
ARGP4
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 8
ARGP4
ADDRLP4 0
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CALLV
pop
line 531
;531:		}
LABELV $264
line 533
;532:
;533:		if ( ( ent->r.svFlags & SVF_BOT ) && ( ent->touch ) ) {
ADDRLP4 5256
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 5256
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
CNSTI4 8
BANDI4
CNSTI4 0
EQI4 $266
ADDRLP4 5256
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $266
line 534
;534:			ent->touch( ent, hit, &trace );
ADDRLP4 5260
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 5260
INDIRP4
ARGP4
ADDRLP4 0
INDIRP4
ARGP4
ADDRLP4 8
ARGP4
ADDRLP4 5260
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CALLV
pop
line 535
;535:		}
LABELV $266
line 536
;536:	}
LABELV $246
line 495
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $248
ADDRLP4 4
INDIRI4
ADDRLP4 1112
INDIRI4
LTI4 $245
line 539
;537:
;538:	// if we didn't touch a jump pad this pmove frame
;539:	if ( ent->client->ps.jumppad_frame != ent->client->ps.pmove_framecount ) {
ADDRLP4 5248
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 5248
INDIRP4
CNSTI4 492
ADDP4
INDIRI4
ADDRLP4 5248
INDIRP4
CNSTI4 488
ADDP4
INDIRI4
EQI4 $268
line 540
;540:		ent->client->ps.jumppad_frame = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 492
ADDP4
CNSTI4 0
ASGNI4
line 541
;541:		ent->client->ps.jumppad_ent = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 480
ADDP4
CNSTI4 0
ASGNI4
line 542
;542:	}
LABELV $268
line 543
;543:}
LABELV $227
endproc G_TouchTriggers 5264 16
lit
align 4
LABELV $271
byte 4 1109393408
byte 4 1109393408
byte 4 1112539136
export G_MoverTouchPushTriggers
code
proc G_MoverTouchPushTriggers 5328 16
line 555
;544:
;545:
;546:/*
;547:============
;548:G_MoverTouchTriggers
;549:
;550:Find all trigger entities that ent's current position touches.
;551:Spectators will only interact with teleporters.
;552:============
;553:*/
;554:void G_MoverTouchPushTriggers( gentity_t *ent, vec3_t oldOrg ) 
;555:{
line 562
;556:	int			i, num;
;557:	float		step, stepSize, dist;
;558:	int			touch[MAX_GENTITIES];
;559:	gentity_t	*hit;
;560:	trace_t		trace;
;561:	vec3_t		mins, maxs, dir, size, checkSpot;
;562:	const vec3_t	range = { 40, 40, 52 };
ADDRLP4 5224
ADDRGP4 $271
INDIRB
ASGNB 12
line 565
;563:
;564:	// non-moving movers don't hit triggers!
;565:	if ( !VectorLengthSquared( ent->s.pos.trDelta ) ) 
ADDRFP4 0
INDIRP4
CNSTI4 36
ADDP4
ARGP4
ADDRLP4 5272
ADDRGP4 VectorLengthSquared
CALLF4
ASGNF4
ADDRLP4 5272
INDIRF4
CNSTF4 0
NEF4 $272
line 566
;566:	{
line 567
;567:		return;
ADDRGP4 $270
JUMPV
LABELV $272
line 570
;568:	}
;569:
;570:	VectorSubtract( ent->r.mins, ent->r.maxs, size );
ADDRLP4 5276
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 5260
ADDRLP4 5276
INDIRP4
CNSTI4 316
ADDP4
INDIRF4
ADDRLP4 5276
INDIRP4
CNSTI4 328
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 5260+4
ADDRLP4 5276
INDIRP4
CNSTI4 320
ADDP4
INDIRF4
ADDRLP4 5276
INDIRP4
CNSTI4 332
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 5280
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 5260+8
ADDRLP4 5280
INDIRP4
CNSTI4 324
ADDP4
INDIRF4
ADDRLP4 5280
INDIRP4
CNSTI4 336
ADDP4
INDIRF4
SUBF4
ASGNF4
line 571
;571:	stepSize = VectorLength( size );
ADDRLP4 5260
ARGP4
ADDRLP4 5284
ADDRGP4 VectorLength
CALLF4
ASGNF4
ADDRLP4 5252
ADDRLP4 5284
INDIRF4
ASGNF4
line 572
;572:	if ( stepSize < 1 )
ADDRLP4 5252
INDIRF4
CNSTF4 1065353216
GEF4 $276
line 573
;573:	{
line 574
;574:		stepSize = 1;
ADDRLP4 5252
CNSTF4 1065353216
ASGNF4
line 575
;575:	}
LABELV $276
line 577
;576:
;577:	VectorSubtract( ent->r.currentOrigin, oldOrg, dir );
ADDRLP4 5288
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 5292
ADDRFP4 4
INDIRP4
ASGNP4
ADDRLP4 5240
ADDRLP4 5288
INDIRP4
CNSTI4 368
ADDP4
INDIRF4
ADDRLP4 5292
INDIRP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 5240+4
ADDRLP4 5288
INDIRP4
CNSTI4 372
ADDP4
INDIRF4
ADDRLP4 5292
INDIRP4
CNSTI4 4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 5240+8
ADDRFP4 0
INDIRP4
CNSTI4 376
ADDP4
INDIRF4
ADDRFP4 4
INDIRP4
CNSTI4 8
ADDP4
INDIRF4
SUBF4
ASGNF4
line 578
;578:	dist = VectorNormalize( dir );
ADDRLP4 5240
ARGP4
ADDRLP4 5296
ADDRGP4 VectorNormalize
CALLF4
ASGNF4
ADDRLP4 5256
ADDRLP4 5296
INDIRF4
ASGNF4
line 579
;579:	for ( step = 0; step <= dist; step += stepSize )
ADDRLP4 5236
CNSTF4 0
ASGNF4
ADDRGP4 $283
JUMPV
LABELV $280
line 580
;580:	{
line 581
;581:		VectorMA( ent->r.currentOrigin, step, dir, checkSpot );
ADDRLP4 5300
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 1112
ADDRLP4 5300
INDIRP4
CNSTI4 368
ADDP4
INDIRF4
ADDRLP4 5240
INDIRF4
ADDRLP4 5236
INDIRF4
MULF4
ADDF4
ASGNF4
ADDRLP4 1112+4
ADDRLP4 5300
INDIRP4
CNSTI4 372
ADDP4
INDIRF4
ADDRLP4 5240+4
INDIRF4
ADDRLP4 5236
INDIRF4
MULF4
ADDF4
ASGNF4
ADDRLP4 1112+8
ADDRFP4 0
INDIRP4
CNSTI4 376
ADDP4
INDIRF4
ADDRLP4 5240+8
INDIRF4
ADDRLP4 5236
INDIRF4
MULF4
ADDF4
ASGNF4
line 582
;582:		VectorSubtract( checkSpot, range, mins );
ADDRLP4 1088
ADDRLP4 1112
INDIRF4
ADDRLP4 5224
INDIRF4
SUBF4
ASGNF4
ADDRLP4 1088+4
ADDRLP4 1112+4
INDIRF4
ADDRLP4 5224+4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 1088+8
ADDRLP4 1112+8
INDIRF4
ADDRLP4 5224+8
INDIRF4
SUBF4
ASGNF4
line 583
;583:		VectorAdd( checkSpot, range, maxs );
ADDRLP4 1100
ADDRLP4 1112
INDIRF4
ADDRLP4 5224
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1100+4
ADDRLP4 1112+4
INDIRF4
ADDRLP4 5224+4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1100+8
ADDRLP4 1112+8
INDIRF4
ADDRLP4 5224+8
INDIRF4
ADDF4
ASGNF4
line 585
;584:
;585:		num = trap_EntitiesInBox( mins, maxs, touch, MAX_GENTITIES );
ADDRLP4 1088
ARGP4
ADDRLP4 1100
ARGP4
ADDRLP4 1128
ARGP4
CNSTI4 1024
ARGI4
ADDRLP4 5308
ADDRGP4 trap_EntitiesInBox
CALLI4
ASGNI4
ADDRLP4 1124
ADDRLP4 5308
INDIRI4
ASGNI4
line 588
;586:
;587:		// can't use ent->r.absmin, because that has a one unit pad
;588:		VectorAdd( checkSpot, ent->r.mins, mins );
ADDRLP4 5312
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 1088
ADDRLP4 1112
INDIRF4
ADDRLP4 5312
INDIRP4
CNSTI4 316
ADDP4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1088+4
ADDRLP4 1112+4
INDIRF4
ADDRLP4 5312
INDIRP4
CNSTI4 320
ADDP4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1088+8
ADDRLP4 1112+8
INDIRF4
ADDRFP4 0
INDIRP4
CNSTI4 324
ADDP4
INDIRF4
ADDF4
ASGNF4
line 589
;589:		VectorAdd( checkSpot, ent->r.maxs, maxs );
ADDRLP4 5316
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 1100
ADDRLP4 1112
INDIRF4
ADDRLP4 5316
INDIRP4
CNSTI4 328
ADDP4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1100+4
ADDRLP4 1112+4
INDIRF4
ADDRLP4 5316
INDIRP4
CNSTI4 332
ADDP4
INDIRF4
ADDF4
ASGNF4
ADDRLP4 1100+8
ADDRLP4 1112+8
INDIRF4
ADDRFP4 0
INDIRP4
CNSTI4 336
ADDP4
INDIRF4
ADDF4
ASGNF4
line 591
;590:
;591:		for ( i=0 ; i<num ; i++ ) 
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRGP4 $311
JUMPV
LABELV $308
line 592
;592:		{
line 593
;593:			hit = &g_entities[touch[i]];
ADDRLP4 0
CNSTI4 852
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRLP4 1128
ADDP4
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ASGNP4
line 595
;594:
;595:			if ( hit->s.eType != ET_PUSH_TRIGGER )
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRI4
CNSTI4 10
EQI4 $312
line 596
;596:			{
line 597
;597:				continue;
ADDRGP4 $309
JUMPV
LABELV $312
line 600
;598:			}
;599:
;600:			if ( hit->touch == NULL ) 
ADDRLP4 0
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $314
line 601
;601:			{
line 602
;602:				continue;
ADDRGP4 $309
JUMPV
LABELV $314
line 605
;603:			}
;604:
;605:			if ( !( hit->r.contents & CONTENTS_TRIGGER ) ) 
ADDRLP4 0
INDIRP4
CNSTI4 340
ADDP4
INDIRI4
CNSTI4 1024
BANDI4
CNSTI4 0
NEI4 $316
line 606
;606:			{
line 607
;607:				continue;
ADDRGP4 $309
JUMPV
LABELV $316
line 611
;608:			}
;609:
;610:
;611:			if ( !trap_EntityContact( mins, maxs, hit ) ) 
ADDRLP4 1088
ARGP4
ADDRLP4 1100
ARGP4
ADDRLP4 0
INDIRP4
ARGP4
ADDRLP4 5320
ADDRGP4 trap_EntityContact
CALLI4
ASGNI4
ADDRLP4 5320
INDIRI4
CNSTI4 0
NEI4 $318
line 612
;612:			{
line 613
;613:				continue;
ADDRGP4 $309
JUMPV
LABELV $318
line 616
;614:			}
;615:
;616:			memset( &trace, 0, sizeof(trace) );
ADDRLP4 8
ARGP4
CNSTI4 0
ARGI4
CNSTI4 1080
ARGI4
ADDRGP4 memset
CALLP4
pop
line 618
;617:
;618:			if ( hit->touch != NULL ) 
ADDRLP4 0
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $320
line 619
;619:			{
line 620
;620:				hit->touch(hit, ent, &trace);
ADDRLP4 0
INDIRP4
ARGP4
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 8
ARGP4
ADDRLP4 0
INDIRP4
CNSTI4 648
ADDP4
INDIRP4
CALLV
pop
line 621
;621:			}
LABELV $320
line 622
;622:		}
LABELV $309
line 591
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $311
ADDRLP4 4
INDIRI4
ADDRLP4 1124
INDIRI4
LTI4 $308
line 623
;623:	}
LABELV $281
line 579
ADDRLP4 5236
ADDRLP4 5236
INDIRF4
ADDRLP4 5252
INDIRF4
ADDF4
ASGNF4
LABELV $283
ADDRLP4 5236
INDIRF4
ADDRLP4 5256
INDIRF4
LEF4 $280
line 624
;624:}
LABELV $270
endproc G_MoverTouchPushTriggers 5328 16
export SpectatorThink
proc SpectatorThink 400 12
line 631
;625:
;626:/*
;627:=================
;628:SpectatorThink
;629:=================
;630:*/
;631:void SpectatorThink( gentity_t *ent, usercmd_t *ucmd ) {
line 635
;632:	pmove_t	pm;
;633:	gclient_t	*client;
;634:
;635:	client = ent->client;
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
line 637
;636:
;637:	if ( client->sess.spectatorState != SPECTATOR_FOLLOW ) {
ADDRLP4 0
INDIRP4
CNSTI4 1644
ADDP4
INDIRI4
CNSTI4 2
EQI4 $323
line 638
;638:		client->ps.pm_type = PM_SPECTATOR;
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
CNSTI4 3
ASGNI4
line 639
;639:		client->ps.speed = 400;	// faster than normal
ADDRLP4 0
INDIRP4
CNSTI4 60
ADDP4
CNSTI4 400
ASGNI4
line 640
;640:		client->ps.basespeed = 400;
ADDRLP4 0
INDIRP4
CNSTI4 64
ADDP4
CNSTI4 400
ASGNI4
line 643
;641:
;642:		// set up for pmove
;643:		memset (&pm, 0, sizeof(pm));
ADDRLP4 4
ARGP4
CNSTI4 0
ARGI4
CNSTI4 380
ARGI4
ADDRGP4 memset
CALLP4
pop
line 644
;644:		pm.ps = &client->ps;
ADDRLP4 4
ADDRLP4 0
INDIRP4
ASGNP4
line 645
;645:		pm.cmd = *ucmd;
ADDRLP4 4+4
ADDRFP4 4
INDIRP4
INDIRB
ASGNB 28
line 646
;646:		pm.tracemask = MASK_PLAYERSOLID & ~CONTENTS_BODY;	// spectators can fly through bodies
ADDRLP4 4+32
CNSTI4 17
ASGNI4
line 647
;647:		pm.trace = trap_Trace;
ADDRLP4 4+240
ADDRGP4 trap_Trace
ASGNP4
line 648
;648:		pm.pointcontents = trap_PointContents;
ADDRLP4 4+244
ADDRGP4 trap_PointContents
ASGNP4
line 650
;649:
;650:		pm.animations = NULL;
ADDRLP4 4+224
CNSTP4 0
ASGNP4
line 653
;651:
;652:		// perform a pmove
;653:		Pmove (&pm);
ADDRLP4 4
ARGP4
ADDRGP4 Pmove
CALLV
pop
line 655
;654:		// save results of pmove
;655:		VectorCopy( client->ps.origin, ent->s.origin );
ADDRFP4 0
INDIRP4
CNSTI4 92
ADDP4
ADDRLP4 0
INDIRP4
CNSTI4 20
ADDP4
INDIRB
ASGNB 12
line 657
;656:
;657:		G_TouchTriggers( ent );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 G_TouchTriggers
CALLV
pop
line 658
;658:		trap_UnlinkEntity( ent );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 trap_UnlinkEntity
CALLV
pop
line 659
;659:	}
LABELV $323
line 661
;660:
;661:	client->oldbuttons = client->buttons;
ADDRLP4 0
INDIRP4
CNSTI4 1776
ADDP4
ADDRLP4 0
INDIRP4
CNSTI4 1772
ADDP4
INDIRI4
ASGNI4
line 662
;662:	client->buttons = ucmd->buttons;
ADDRLP4 0
INDIRP4
CNSTI4 1772
ADDP4
ADDRFP4 4
INDIRP4
CNSTI4 16
ADDP4
INDIRI4
ASGNI4
line 665
;663:
;664:	// attack button cycles through spectators
;665:	if ( ( client->buttons & BUTTON_ATTACK ) && ! ( client->oldbuttons & BUTTON_ATTACK ) ) {
ADDRLP4 392
CNSTI4 1
ASGNI4
ADDRLP4 396
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1772
ADDP4
INDIRI4
ADDRLP4 392
INDIRI4
BANDI4
ADDRLP4 396
INDIRI4
EQI4 $330
ADDRLP4 0
INDIRP4
CNSTI4 1776
ADDP4
INDIRI4
ADDRLP4 392
INDIRI4
BANDI4
ADDRLP4 396
INDIRI4
NEI4 $330
line 666
;666:		Cmd_FollowCycle_f( ent, 1 );
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 1
ARGI4
ADDRGP4 Cmd_FollowCycle_f
CALLV
pop
line 667
;667:	}
LABELV $330
line 669
;668:
;669:	if (client->sess.spectatorState == SPECTATOR_FOLLOW && (ucmd->upmove > 0))
ADDRLP4 0
INDIRP4
CNSTI4 1644
ADDP4
INDIRI4
CNSTI4 2
NEI4 $332
ADDRFP4 4
INDIRP4
CNSTI4 26
ADDP4
INDIRI1
CVII4 1
CNSTI4 0
LEI4 $332
line 670
;670:	{ //jump now removes you from follow mode
line 671
;671:		StopFollowing(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 StopFollowing
CALLV
pop
line 672
;672:	}
LABELV $332
line 673
;673:}
LABELV $322
endproc SpectatorThink 400 12
export ClientInactivityTimer
proc ClientInactivityTimer 12 8
line 684
;674:
;675:
;676:
;677:/*
;678:=================
;679:ClientInactivityTimer
;680:
;681:Returns qfalse if the client is dropped
;682:=================
;683:*/
;684:qboolean ClientInactivityTimer( gclient_t *client ) {
line 685
;685:	if ( ! g_inactivity.integer ) {
ADDRGP4 g_inactivity+12
INDIRI4
CNSTI4 0
NEI4 $335
line 688
;686:		// give everyone some time, so if the operator sets g_inactivity during
;687:		// gameplay, everyone isn't kicked
;688:		client->inactivityTime = level.time + 60 * 1000;
ADDRFP4 0
INDIRP4
CNSTI4 1864
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 60000
ADDI4
ASGNI4
line 689
;689:		client->inactivityWarning = qfalse;
ADDRFP4 0
INDIRP4
CNSTI4 1868
ADDP4
CNSTI4 0
ASGNI4
line 690
;690:	} else if ( client->pers.cmd.forwardmove || 
ADDRGP4 $336
JUMPV
LABELV $335
ADDRLP4 0
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1408
ADDP4
INDIRI1
CVII4 1
ADDRLP4 4
INDIRI4
NEI4 $343
ADDRLP4 0
INDIRP4
CNSTI4 1409
ADDP4
INDIRI1
CVII4 1
ADDRLP4 4
INDIRI4
NEI4 $343
ADDRLP4 0
INDIRP4
CNSTI4 1410
ADDP4
INDIRI1
CVII4 1
ADDRLP4 4
INDIRI4
NEI4 $343
ADDRLP4 0
INDIRP4
CNSTI4 1400
ADDP4
INDIRI4
CNSTI4 129
BANDI4
ADDRLP4 4
INDIRI4
EQI4 $339
LABELV $343
line 693
;691:		client->pers.cmd.rightmove || 
;692:		client->pers.cmd.upmove ||
;693:		(client->pers.cmd.buttons & (BUTTON_ATTACK|BUTTON_ALT_ATTACK)) ) {
line 694
;694:		client->inactivityTime = level.time + g_inactivity.integer * 1000;
ADDRFP4 0
INDIRP4
CNSTI4 1864
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 1000
ADDRGP4 g_inactivity+12
INDIRI4
MULI4
ADDI4
ASGNI4
line 695
;695:		client->inactivityWarning = qfalse;
ADDRFP4 0
INDIRP4
CNSTI4 1868
ADDP4
CNSTI4 0
ASGNI4
line 696
;696:	} else if ( !client->pers.localClient ) {
ADDRGP4 $340
JUMPV
LABELV $339
ADDRFP4 0
INDIRP4
CNSTI4 1412
ADDP4
INDIRI4
CNSTI4 0
NEI4 $346
line 697
;697:		if ( level.time > client->inactivityTime ) {
ADDRGP4 level+32
INDIRI4
ADDRFP4 0
INDIRP4
CNSTI4 1864
ADDP4
INDIRI4
LEI4 $348
line 698
;698:			trap_DropClient( client - level.clients, "Dropped due to inactivity" );
ADDRFP4 0
INDIRP4
CVPU4 4
ADDRGP4 level
INDIRP4
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 3024
DIVI4
ARGI4
ADDRGP4 $351
ARGP4
ADDRGP4 trap_DropClient
CALLV
pop
line 699
;699:			return qfalse;
CNSTI4 0
RETI4
ADDRGP4 $334
JUMPV
LABELV $348
line 701
;700:		}
;701:		if ( level.time > client->inactivityTime - 10000 && !client->inactivityWarning ) {
ADDRLP4 8
ADDRFP4 0
INDIRP4
ASGNP4
ADDRGP4 level+32
INDIRI4
ADDRLP4 8
INDIRP4
CNSTI4 1864
ADDP4
INDIRI4
CNSTI4 10000
SUBI4
LEI4 $352
ADDRLP4 8
INDIRP4
CNSTI4 1868
ADDP4
INDIRI4
CNSTI4 0
NEI4 $352
line 702
;702:			client->inactivityWarning = qtrue;
ADDRFP4 0
INDIRP4
CNSTI4 1868
ADDP4
CNSTI4 1
ASGNI4
line 703
;703:			trap_SendServerCommand( client - level.clients, "cp \"Ten seconds until inactivity drop!\n\"" );
ADDRFP4 0
INDIRP4
CVPU4 4
ADDRGP4 level
INDIRP4
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 3024
DIVI4
ARGI4
ADDRGP4 $355
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 704
;704:		}
LABELV $352
line 705
;705:	}
LABELV $346
LABELV $340
LABELV $336
line 706
;706:	return qtrue;
CNSTI4 1
RETI4
LABELV $334
endproc ClientInactivityTimer 12 8
export ClientTimerActions
proc ClientTimerActions 2108 16
line 718
;707:}
;708:
;709:/*
;710:==================
;711:ClientTimerActions
;712:
;713:Actions that happen once a second
;714:==================
;715:*/
;716://char *Q_stristr(const char *s, const char *find);
;717:void uwRename(gentity_t *player, const char *newname);
;718:void ClientTimerActions( gentity_t *ent, int msec ) {
line 722
;719:	gclient_t	*client;
;720:	char motdWithNewLines[MAX_STRING_CHARS];
;721:	char motdString[MAX_STRING_CHARS];
;722:	int clientNum = ent-g_entities;
ADDRLP4 2052
ADDRFP4 0
INDIRP4
CVPU4 4
ADDRGP4 g_entities
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 852
DIVI4
ASGNI4
line 724
;723:
;724:	client = ent->client;
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
line 725
;725:	client->timeResidual += msec;
ADDRLP4 2056
ADDRLP4 0
INDIRP4
CNSTI4 2932
ADDP4
ASGNP4
ADDRLP4 2056
INDIRP4
ADDRLP4 2056
INDIRP4
INDIRI4
ADDRFP4 4
INDIRI4
ADDI4
ASGNI4
ADDRGP4 $358
JUMPV
LABELV $357
line 728
;726:
;727:	while ( client->timeResidual >= 1000 ) 
;728:	{
line 729
;729:		client->timeResidual -= 1000;
ADDRLP4 2060
ADDRLP4 0
INDIRP4
CNSTI4 2932
ADDP4
ASGNP4
ADDRLP4 2060
INDIRP4
ADDRLP4 2060
INDIRP4
INDIRI4
CNSTI4 1000
SUBI4
ASGNI4
line 732
;730:
;731:		// count down health when over max
;732:		if ( ent->health > client->ps.stats[STAT_MAX_HEALTH] ) {
ADDRFP4 0
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ADDRLP4 0
INDIRP4
CNSTI4 248
ADDP4
INDIRI4
LEI4 $360
line 733
;733:			ent->health--;
ADDRLP4 2064
ADDRFP4 0
INDIRP4
CNSTI4 676
ADDP4
ASGNP4
ADDRLP4 2064
INDIRP4
ADDRLP4 2064
INDIRP4
INDIRI4
CNSTI4 1
SUBI4
ASGNI4
line 734
;734:		}
LABELV $360
line 737
;735:
;736:		// count down armor when over max
;737:		if ( client->ps.stats[STAT_ARMOR] > client->ps.stats[STAT_MAX_HEALTH] ) {
ADDRLP4 0
INDIRP4
CNSTI4 236
ADDP4
INDIRI4
ADDRLP4 0
INDIRP4
CNSTI4 248
ADDP4
INDIRI4
LEI4 $362
line 738
;738:			client->ps.stats[STAT_ARMOR]--;
ADDRLP4 2068
ADDRLP4 0
INDIRP4
CNSTI4 236
ADDP4
ASGNP4
ADDRLP4 2068
INDIRP4
ADDRLP4 2068
INDIRP4
INDIRI4
CNSTI4 1
SUBI4
ASGNI4
line 739
;739:		}
LABELV $362
line 741
;740:
;741:		if ( cm_autoprotecttime.integer != 0 && client->ps.duelInProgress == qfalse ) {
ADDRLP4 2068
CNSTI4 0
ASGNI4
ADDRGP4 cm_autoprotecttime+12
INDIRI4
ADDRLP4 2068
INDIRI4
EQI4 $364
ADDRLP4 0
INDIRP4
CNSTI4 1304
ADDP4
INDIRI4
ADDRLP4 2068
INDIRI4
NEI4 $364
line 742
;742:			if ( client->pers.cmd.forwardmove || client->pers.cmd.rightmove || 
ADDRLP4 2076
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1408
ADDP4
INDIRI1
CVII4 1
ADDRLP4 2076
INDIRI4
NEI4 $371
ADDRLP4 0
INDIRP4
CNSTI4 1409
ADDP4
INDIRI1
CVII4 1
ADDRLP4 2076
INDIRI4
NEI4 $371
ADDRLP4 0
INDIRP4
CNSTI4 1410
ADDP4
INDIRI1
CVII4 1
ADDRLP4 2076
INDIRI4
NEI4 $371
ADDRLP4 0
INDIRP4
CNSTI4 1400
ADDP4
INDIRI4
CNSTI4 129
BANDI4
ADDRLP4 2076
INDIRI4
EQI4 $367
LABELV $371
line 743
;743:				client->pers.cmd.upmove || (client->pers.cmd.buttons & (BUTTON_ATTACK|BUTTON_ALT_ATTACK)) ) {
line 744
;744:				client->cmIdleTimer = cm_autoprotecttime.integer;
ADDRLP4 0
INDIRP4
CNSTI4 1896
ADDP4
ADDRGP4 cm_autoprotecttime+12
INDIRI4
ASGNI4
line 745
;745:			}
ADDRGP4 $368
JUMPV
LABELV $367
line 746
;746:			else if ( !client->pers.cmd.forwardmove || !client->pers.cmd.rightmove || 
ADDRLP4 2084
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1408
ADDP4
INDIRI1
CVII4 1
ADDRLP4 2084
INDIRI4
EQI4 $377
ADDRLP4 0
INDIRP4
CNSTI4 1409
ADDP4
INDIRI1
CVII4 1
ADDRLP4 2084
INDIRI4
EQI4 $377
ADDRLP4 0
INDIRP4
CNSTI4 1410
ADDP4
INDIRI1
CVII4 1
ADDRLP4 2084
INDIRI4
EQI4 $377
ADDRLP4 0
INDIRP4
CNSTI4 1400
ADDP4
INDIRI4
CNSTI4 129
BANDI4
ADDRLP4 2084
INDIRI4
NEI4 $373
LABELV $377
line 747
;747:				!client->pers.cmd.upmove || !(client->pers.cmd.buttons & (BUTTON_ATTACK|BUTTON_ALT_ATTACK)) ) {
line 748
;748:					if (client->cmIdleTimer == 0) {
ADDRLP4 0
INDIRP4
CNSTI4 1896
ADDP4
INDIRI4
CNSTI4 0
NEI4 $378
line 749
;749:						client->ps.eFlags |= EF_INVULNERABLE;
ADDRLP4 2088
ADDRLP4 0
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 2088
INDIRP4
ADDRLP4 2088
INDIRP4
INDIRI4
CNSTI4 67108864
BORI4
ASGNI4
line 750
;750:						client->invulnerableTimer = level.time + Q3_INFINITE;
ADDRLP4 0
INDIRP4
CNSTI4 1752
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 16777216
ADDI4
ASGNI4
line 751
;751:					}
LABELV $378
line 752
;752:					if (client->cmIdleTimer != 0){
ADDRLP4 0
INDIRP4
CNSTI4 1896
ADDP4
INDIRI4
CNSTI4 0
EQI4 $381
line 753
;753:						client->cmIdleTimer--;
ADDRLP4 2088
ADDRLP4 0
INDIRP4
CNSTI4 1896
ADDP4
ASGNP4
ADDRLP4 2088
INDIRP4
ADDRLP4 2088
INDIRP4
INDIRI4
CNSTI4 1
SUBI4
ASGNI4
line 754
;754:					}
LABELV $381
line 755
;755:				}
LABELV $373
LABELV $368
line 756
;756:		}
LABELV $364
line 758
;757:
;758:		if (client->cmClanTimer >= 1 && client->csTimeLeft == 0 && client->pers.amclanreserved == 1 &&
ADDRLP4 2076
CNSTI4 1
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1900
ADDP4
INDIRI4
ADDRLP4 2076
INDIRI4
LTI4 $383
ADDRLP4 2080
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1892
ADDP4
INDIRI4
ADDRLP4 2080
INDIRI4
NEI4 $383
ADDRLP4 0
INDIRP4
CNSTI4 1552
ADDP4
INDIRI4
ADDRLP4 2076
INDIRI4
NEI4 $383
ADDRLP4 2084
ADDRFP4 0
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
ASGNI4
ADDRLP4 2084
INDIRI4
CNSTI4 8
BANDI4
ADDRLP4 2080
INDIRI4
NEI4 $383
ADDRGP4 cm_clanTag+16
INDIRI1
CVII4 1
ADDRLP4 2080
INDIRI4
EQI4 $383
ADDRGP4 cm_clanTag+16
INDIRI1
CVII4 1
ADDRLP4 2080
INDIRI4
EQI4 $383
ADDRLP4 2084
INDIRI4
CNSTI4 524288
BANDI4
ADDRLP4 2080
INDIRI4
NEI4 $383
line 759
;759:		!(ent->r.svFlags & SVF_BOT) && *cm_clanTag.string && cm_clanTag.string[0] && !(ent->r.svFlags & SVF_CLAN)){
line 760
;760:			trap_SendServerCommand( ent-g_entities, va("cp \"^1Your clan tag is reserved for members only!\n^1Please change it, or login in ^3%d seconds^1,\n^1or your clan name will be removed.\n\"", client->cmClanTimer ));
ADDRGP4 $387
ARGP4
ADDRLP4 0
INDIRP4
CNSTI4 1900
ADDP4
INDIRI4
ARGI4
ADDRLP4 2088
ADDRGP4 va
CALLP4
ASGNP4
ADDRFP4 0
INDIRP4
CVPU4 4
ADDRGP4 g_entities
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 852
DIVI4
ARGI4
ADDRLP4 2088
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 761
;761:			client->cmClanTimer--;
ADDRLP4 2092
ADDRLP4 0
INDIRP4
CNSTI4 1900
ADDP4
ASGNP4
ADDRLP4 2092
INDIRP4
ADDRLP4 2092
INDIRP4
INDIRI4
CNSTI4 1
SUBI4
ASGNI4
line 762
;762:		}
LABELV $383
line 764
;763:		
;764:		if (client->cmClanTimer == 0 && client->pers.amclanreserved == 1 && !(ent->r.svFlags & SVF_CLAN)){
ADDRLP4 2092
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1900
ADDP4
INDIRI4
ADDRLP4 2092
INDIRI4
NEI4 $388
ADDRLP4 0
INDIRP4
CNSTI4 1552
ADDP4
INDIRI4
CNSTI4 1
NEI4 $388
ADDRFP4 0
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
CNSTI4 524288
BANDI4
ADDRLP4 2092
INDIRI4
NEI4 $388
line 765
;765:			client->pers.amclanreserved = 0;
ADDRLP4 0
INDIRP4
CNSTI4 1552
ADDP4
CNSTI4 0
ASGNI4
line 766
;766:			uwRename(&g_entities[clientNum], "Padawan");
CNSTI4 852
ADDRLP4 2052
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ARGP4
ADDRGP4 $390
ARGP4
ADDRGP4 uwRename
CALLV
pop
line 767
;767:			trap_SendServerCommand( ent-g_entities, va("print \"The clan name you were using was protected, you have been forcefully renamed.\n\"") );
ADDRGP4 $391
ARGP4
ADDRLP4 2096
ADDRGP4 va
CALLP4
ASGNP4
ADDRFP4 0
INDIRP4
CVPU4 4
ADDRGP4 g_entities
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 852
DIVI4
ARGI4
ADDRLP4 2096
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 768
;768:		}
LABELV $388
line 771
;769:
;770:		//cm Center Screen MOTD
;771:		if (client->csTimeLeft && *cm_motd.string && cm_motd.string[0]) {
ADDRLP4 2096
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 1892
ADDP4
INDIRI4
ADDRLP4 2096
INDIRI4
EQI4 $392
ADDRGP4 cm_motd+16
INDIRI1
CVII4 1
ADDRLP4 2096
INDIRI4
EQI4 $392
ADDRGP4 cm_motd+16
INDIRI1
CVII4 1
ADDRLP4 2096
INDIRI4
EQI4 $392
line 772
;772:			trap_Cvar_VariableStringBuffer( "cm_motd", motdString, MAX_STRING_CHARS );
ADDRGP4 $396
ARGP4
ADDRLP4 1028
ARGP4
CNSTI4 1024
ARGI4
ADDRGP4 trap_Cvar_VariableStringBuffer
CALLV
pop
line 773
;773:			M_StringEscapeToEnters( motdString, motdWithNewLines, MAX_STRING_CHARS );
ADDRLP4 1028
ARGP4
ADDRLP4 4
ARGP4
CNSTI4 1024
ARGI4
ADDRGP4 M_StringEscapeToEnters
CALLV
pop
line 774
;774:			trap_SendServerCommand( ent->client->ps.clientNum, va ( "cp \"^1%s\n%s\nTimeLeft: ^3%d\"", GAMEVERSION, motdWithNewLines, ent->client->csTimeLeft ) );
ADDRGP4 $397
ARGP4
ADDRGP4 $398
ARGP4
ADDRLP4 4
ARGP4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1892
ADDP4
INDIRI4
ARGI4
ADDRLP4 2100
ADDRGP4 va
CALLP4
ASGNP4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 144
ADDP4
INDIRI4
ARGI4
ADDRLP4 2100
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 775
;775:			client->csTimeLeft--;
ADDRLP4 2104
ADDRLP4 0
INDIRP4
CNSTI4 1892
ADDP4
ASGNP4
ADDRLP4 2104
INDIRP4
ADDRLP4 2104
INDIRP4
INDIRI4
CNSTI4 1
SUBI4
ASGNI4
line 776
;776:		}
LABELV $392
line 777
;777:	}
LABELV $358
line 727
ADDRLP4 0
INDIRP4
CNSTI4 2932
ADDP4
INDIRI4
CNSTI4 1000
GEI4 $357
line 778
;778:}
LABELV $356
endproc ClientTimerActions 2108 16
export ClientIntermissionThink
proc ClientIntermissionThink 24 0
line 785
;779:
;780:/*
;781:====================
;782:ClientIntermissionThink
;783:====================
;784:*/
;785:void ClientIntermissionThink( gclient_t *client ) {
line 786
;786:	client->ps.eFlags &= ~EF_TALK;
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 0
INDIRP4
ADDRLP4 0
INDIRP4
INDIRI4
CNSTI4 -4097
BANDI4
ASGNI4
line 787
;787:	client->ps.eFlags &= ~EF_FIRING;
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRI4
CNSTI4 -257
BANDI4
ASGNI4
line 792
;788:
;789:	// the level will exit when everyone wants to or after timeouts
;790:
;791:	// swap and latch button actions
;792:	client->oldbuttons = client->buttons;
ADDRLP4 8
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 8
INDIRP4
CNSTI4 1776
ADDP4
ADDRLP4 8
INDIRP4
CNSTI4 1772
ADDP4
INDIRI4
ASGNI4
line 793
;793:	client->buttons = client->pers.cmd.buttons;
ADDRLP4 12
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 12
INDIRP4
CNSTI4 1772
ADDP4
ADDRLP4 12
INDIRP4
CNSTI4 1400
ADDP4
INDIRI4
ASGNI4
line 794
;794:	if ( client->buttons & ( BUTTON_ATTACK | BUTTON_USE_HOLDABLE ) & ( client->oldbuttons ^ client->buttons ) ) {
ADDRLP4 16
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 20
ADDRLP4 16
INDIRP4
CNSTI4 1772
ADDP4
INDIRI4
ASGNI4
ADDRLP4 20
INDIRI4
CNSTI4 5
BANDI4
ADDRLP4 16
INDIRP4
CNSTI4 1776
ADDP4
INDIRI4
ADDRLP4 20
INDIRI4
BXORI4
BANDI4
CNSTI4 0
EQI4 $400
line 796
;795:		// this used to be an ^1 but once a player says ready, it should stick
;796:		client->readyToExit = 1;
ADDRFP4 0
INDIRP4
CNSTI4 1760
ADDP4
CNSTI4 1
ASGNI4
line 797
;797:	}
LABELV $400
line 798
;798:}
LABELV $399
endproc ClientIntermissionThink 24 0
export ClientEvents
proc ClientEvents 68 32
line 809
;799:
;800:
;801:/*
;802:================
;803:ClientEvents
;804:
;805:Events will be passed on to the clients for presentation,
;806:but any server game effects are handled here
;807:================
;808:*/
;809:void ClientEvents( gentity_t *ent, int oldEventSequence ) {
line 820
;810:	int		i;//, j;
;811:	int		event;
;812:	gclient_t *client;
;813:	int		damage;
;814:	vec3_t	dir;
;815://	vec3_t	origin, angles;
;816://	qboolean	fired;
;817://	gitem_t *item;
;818://	gentity_t *drop;
;819:
;820:	client = ent->client;
ADDRLP4 8
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
line 822
;821:
;822:	if ( oldEventSequence < client->ps.eventSequence - MAX_PS_EVENTS ) {
ADDRFP4 4
INDIRI4
ADDRLP4 8
INDIRP4
CNSTI4 112
ADDP4
INDIRI4
CNSTI4 2
SUBI4
GEI4 $403
line 823
;823:		oldEventSequence = client->ps.eventSequence - MAX_PS_EVENTS;
ADDRFP4 4
ADDRLP4 8
INDIRP4
CNSTI4 112
ADDP4
INDIRI4
CNSTI4 2
SUBI4
ASGNI4
line 824
;824:	}
LABELV $403
line 825
;825:	for ( i = oldEventSequence ; i < client->ps.eventSequence ; i++ ) {
ADDRLP4 0
ADDRFP4 4
INDIRI4
ASGNI4
ADDRGP4 $408
JUMPV
LABELV $405
line 826
;826:		event = client->ps.events[ i & (MAX_PS_EVENTS-1) ];
ADDRLP4 4
ADDRLP4 0
INDIRI4
CNSTI4 1
BANDI4
CNSTI4 2
LSHI4
ADDRLP4 8
INDIRP4
CNSTI4 116
ADDP4
ADDP4
INDIRI4
ASGNI4
line 828
;827:
;828:		switch ( event ) {
ADDRLP4 32
CNSTI4 15
ASGNI4
ADDRLP4 4
INDIRI4
ADDRLP4 32
INDIRI4
EQI4 $411
ADDRLP4 4
INDIRI4
ADDRLP4 32
INDIRI4
GTI4 $437
LABELV $436
ADDRLP4 4
INDIRI4
CNSTI4 11
EQI4 $411
ADDRGP4 $410
JUMPV
LABELV $437
ADDRLP4 40
CNSTI4 24
ASGNI4
ADDRLP4 4
INDIRI4
ADDRLP4 40
INDIRI4
EQI4 $424
ADDRLP4 4
INDIRI4
CNSTI4 25
EQI4 $426
ADDRLP4 4
INDIRI4
CNSTI4 26
EQI4 $428
ADDRLP4 4
INDIRI4
ADDRLP4 40
INDIRI4
LTI4 $410
LABELV $438
ADDRLP4 4
INDIRI4
CNSTI4 41
LTI4 $410
ADDRLP4 4
INDIRI4
CNSTI4 46
GTI4 $410
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 $439-164
ADDP4
INDIRP4
JUMPV
lit
align 4
LABELV $439
address $430
address $431
address $432
address $410
address $434
address $435
code
LABELV $411
line 831
;829:		case EV_FALL:
;830:		case EV_ROLL:
;831:			{
line 832
;832:				int delta = client->ps.eventParms[ i & (MAX_PS_EVENTS-1) ];
ADDRLP4 48
ADDRLP4 0
INDIRI4
CNSTI4 1
BANDI4
CNSTI4 2
LSHI4
ADDRLP4 8
INDIRP4
CNSTI4 124
ADDP4
ADDP4
INDIRI4
ASGNI4
line 834
;833:
;834:				if (ent->client && ent->client->ps.fallingToDeath)
ADDRLP4 52
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 52
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $412
ADDRLP4 52
INDIRP4
CNSTI4 1352
ADDP4
INDIRI4
CNSTI4 0
EQI4 $412
line 835
;835:				{
line 836
;836:					break;
ADDRGP4 $410
JUMPV
LABELV $412
line 839
;837:				}
;838:
;839:				if ( ent->s.eType != ET_PLAYER )
ADDRFP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRI4
CNSTI4 1
EQI4 $414
line 840
;840:				{
line 841
;841:					break;		// not in the player model
ADDRGP4 $410
JUMPV
LABELV $414
line 844
;842:				}
;843:				
;844:				if ( g_dmflags.integer & DF_NO_FALLING )
ADDRGP4 g_dmflags+12
INDIRI4
CNSTI4 8
BANDI4
CNSTI4 0
EQI4 $416
line 845
;845:				{
line 846
;846:					break;
ADDRGP4 $410
JUMPV
LABELV $416
line 849
;847:				}
;848:
;849:				if (delta <= 44)
ADDRLP4 48
INDIRI4
CNSTI4 44
GTI4 $419
line 850
;850:				{
line 851
;851:					break;
ADDRGP4 $410
JUMPV
LABELV $419
line 854
;852:				}
;853:
;854:				damage = delta*0.16; //good enough for now, I guess
ADDRLP4 24
CNSTF4 1042536202
ADDRLP4 48
INDIRI4
CVIF4 4
MULF4
CVFI4 4
ASGNI4
line 856
;855:
;856:				VectorSet (dir, 0, 0, 1);
ADDRLP4 56
CNSTF4 0
ASGNF4
ADDRLP4 12
ADDRLP4 56
INDIRF4
ASGNF4
ADDRLP4 12+4
ADDRLP4 56
INDIRF4
ASGNF4
ADDRLP4 12+8
CNSTF4 1065353216
ASGNF4
line 857
;857:				ent->pain_debounce_time = level.time + 200;	// no normal pain sound
ADDRFP4 0
INDIRP4
CNSTI4 664
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 200
ADDI4
ASGNI4
line 858
;858:				G_Damage (ent, NULL, NULL, NULL, NULL, damage, DAMAGE_NO_ARMOR, MOD_FALLING);
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 60
CNSTP4 0
ASGNP4
ADDRLP4 60
INDIRP4
ARGP4
ADDRLP4 60
INDIRP4
ARGP4
ADDRLP4 64
CNSTP4 0
ASGNP4
ADDRLP4 64
INDIRP4
ARGP4
ADDRLP4 64
INDIRP4
ARGP4
ADDRLP4 24
INDIRI4
ARGI4
CNSTI4 2
ARGI4
CNSTI4 34
ARGI4
ADDRGP4 G_Damage
CALLV
pop
line 859
;859:			}
line 860
;860:			break;
ADDRGP4 $410
JUMPV
LABELV $424
line 862
;861:		case EV_FIRE_WEAPON:
;862:			FireWeapon( ent, qfalse );
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 0
ARGI4
ADDRGP4 FireWeapon
CALLV
pop
line 863
;863:			ent->client->dangerTime = level.time;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 3000
ADDP4
ADDRGP4 level+32
INDIRI4
ASGNI4
line 864
;864:			ent->client->ps.eFlags &= ~EF_INVULNERABLE;
ADDRLP4 48
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 48
INDIRP4
ADDRLP4 48
INDIRP4
INDIRI4
CNSTI4 -67108865
BANDI4
ASGNI4
line 865
;865:			ent->client->invulnerableTimer = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1752
ADDP4
CNSTI4 0
ASGNI4
line 866
;866:			break;
ADDRGP4 $410
JUMPV
LABELV $426
line 869
;867:
;868:		case EV_ALT_FIRE:
;869:			FireWeapon( ent, qtrue );
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 1
ARGI4
ADDRGP4 FireWeapon
CALLV
pop
line 870
;870:			ent->client->dangerTime = level.time;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 3000
ADDP4
ADDRGP4 level+32
INDIRI4
ASGNI4
line 871
;871:			ent->client->ps.eFlags &= ~EF_INVULNERABLE;
ADDRLP4 52
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 52
INDIRP4
ADDRLP4 52
INDIRP4
INDIRI4
CNSTI4 -67108865
BANDI4
ASGNI4
line 872
;872:			ent->client->invulnerableTimer = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1752
ADDP4
CNSTI4 0
ASGNI4
line 873
;873:			break;
ADDRGP4 $410
JUMPV
LABELV $428
line 876
;874:
;875:		case EV_SABER_ATTACK:
;876:			ent->client->dangerTime = level.time;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 3000
ADDP4
ADDRGP4 level+32
INDIRI4
ASGNI4
line 877
;877:			ent->client->ps.eFlags &= ~EF_INVULNERABLE;
ADDRLP4 56
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 56
INDIRP4
ADDRLP4 56
INDIRP4
INDIRI4
CNSTI4 -67108865
BANDI4
ASGNI4
line 878
;878:			ent->client->invulnerableTimer = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1752
ADDP4
CNSTI4 0
ASGNI4
line 879
;879:			break;
ADDRGP4 $410
JUMPV
LABELV $430
line 883
;880:
;881:		//rww - Note that these must be in the same order (ITEM#-wise) as they are in holdable_t
;882:		case EV_USE_ITEM1: //seeker droid
;883:			ItemUse_Seeker(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Seeker
CALLV
pop
line 884
;884:			break;
ADDRGP4 $410
JUMPV
LABELV $431
line 886
;885:		case EV_USE_ITEM2: //shield
;886:			ItemUse_Shield(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Shield
CALLV
pop
line 887
;887:			break;
ADDRGP4 $410
JUMPV
LABELV $432
line 889
;888:		case EV_USE_ITEM3: //medpack
;889:			ItemUse_MedPack(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_MedPack
CALLV
pop
line 890
;890:			break;
ADDRGP4 $410
JUMPV
line 893
;891:		case EV_USE_ITEM4: //datapad
;892:			//G_Printf("Used Datapad\n");
;893:			break;
LABELV $434
line 895
;894:		case EV_USE_ITEM5: //binoculars
;895:			ItemUse_Binoculars(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Binoculars
CALLV
pop
line 896
;896:			break;
ADDRGP4 $410
JUMPV
LABELV $435
line 898
;897:		case EV_USE_ITEM6: //sentry gun
;898:			ItemUse_Sentry(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Sentry
CALLV
pop
line 899
;899:			break;
line 902
;900:
;901:		default:
;902:			break;
LABELV $410
line 904
;903:		}
;904:	}
LABELV $406
line 825
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $408
ADDRLP4 0
INDIRI4
ADDRLP4 8
INDIRP4
CNSTI4 112
ADDP4
INDIRI4
LTI4 $405
line 906
;905:
;906:}
LABELV $402
endproc ClientEvents 68 32
export SendPendingPredictableEvents
proc SendPendingPredictableEvents 40 12
line 913
;907:
;908:/*
;909:==============
;910:SendPendingPredictableEvents
;911:==============
;912:*/
;913:void SendPendingPredictableEvents( playerState_t *ps ) {
line 919
;914:	gentity_t *t;
;915:	int event, seq;
;916:	int extEvent, number;
;917:
;918:	// if there are still events pending
;919:	if ( ps->entityEventSequence < ps->eventSequence ) {
ADDRLP4 20
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 20
INDIRP4
CNSTI4 496
ADDP4
INDIRI4
ADDRLP4 20
INDIRP4
CNSTI4 112
ADDP4
INDIRI4
GEI4 $442
line 922
;920:		// create a temporary entity for this event which is sent to everyone
;921:		// except the client who generated the event
;922:		seq = ps->entityEventSequence & (MAX_PS_EVENTS-1);
ADDRLP4 8
ADDRFP4 0
INDIRP4
CNSTI4 496
ADDP4
INDIRI4
CNSTI4 1
BANDI4
ASGNI4
line 923
;923:		event = ps->events[ seq ] | ( ( ps->entityEventSequence & 3 ) << 8 );
ADDRLP4 24
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 4
ADDRLP4 8
INDIRI4
CNSTI4 2
LSHI4
ADDRLP4 24
INDIRP4
CNSTI4 116
ADDP4
ADDP4
INDIRI4
ADDRLP4 24
INDIRP4
CNSTI4 496
ADDP4
INDIRI4
CNSTI4 3
BANDI4
CNSTI4 8
LSHI4
BORI4
ASGNI4
line 925
;924:		// set external event to zero before calling BG_PlayerStateToEntityState
;925:		extEvent = ps->externalEvent;
ADDRLP4 12
ADDRFP4 0
INDIRP4
CNSTI4 132
ADDP4
INDIRI4
ASGNI4
line 926
;926:		ps->externalEvent = 0;
ADDRFP4 0
INDIRP4
CNSTI4 132
ADDP4
CNSTI4 0
ASGNI4
line 928
;927:		// create temporary entity for event
;928:		t = G_TempEntity( ps->origin, event );
ADDRFP4 0
INDIRP4
CNSTI4 20
ADDP4
ARGP4
ADDRLP4 4
INDIRI4
ARGI4
ADDRLP4 28
ADDRGP4 G_TempEntity
CALLP4
ASGNP4
ADDRLP4 0
ADDRLP4 28
INDIRP4
ASGNP4
line 929
;929:		number = t->s.number;
ADDRLP4 16
ADDRLP4 0
INDIRP4
INDIRI4
ASGNI4
line 930
;930:		BG_PlayerStateToEntityState( ps, &t->s, qtrue );
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 0
INDIRP4
ARGP4
CNSTI4 1
ARGI4
ADDRGP4 BG_PlayerStateToEntityState
CALLV
pop
line 931
;931:		t->s.number = number;
ADDRLP4 0
INDIRP4
ADDRLP4 16
INDIRI4
ASGNI4
line 932
;932:		t->s.eType = ET_EVENTS + event;
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
ADDRLP4 4
INDIRI4
CNSTI4 16
ADDI4
ASGNI4
line 933
;933:		t->s.eFlags |= EF_PLAYER_EVENT;
ADDRLP4 32
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
ASGNP4
ADDRLP4 32
INDIRP4
ADDRLP4 32
INDIRP4
INDIRI4
CNSTI4 16
BORI4
ASGNI4
line 934
;934:		t->s.otherEntityNum = ps->clientNum;
ADDRLP4 0
INDIRP4
CNSTI4 184
ADDP4
ADDRFP4 0
INDIRP4
CNSTI4 144
ADDP4
INDIRI4
ASGNI4
line 936
;935:		// send to everyone except the client who generated the event
;936:		t->r.svFlags |= SVF_NOTSINGLECLIENT;
ADDRLP4 36
ADDRLP4 0
INDIRP4
CNSTI4 304
ADDP4
ASGNP4
ADDRLP4 36
INDIRP4
ADDRLP4 36
INDIRP4
INDIRI4
CNSTI4 2048
BORI4
ASGNI4
line 937
;937:		t->r.singleClient = ps->clientNum;
ADDRLP4 0
INDIRP4
CNSTI4 308
ADDP4
ADDRFP4 0
INDIRP4
CNSTI4 144
ADDP4
INDIRI4
ASGNI4
line 939
;938:		// set back external event
;939:		ps->externalEvent = extEvent;
ADDRFP4 0
INDIRP4
CNSTI4 132
ADDP4
ADDRLP4 12
INDIRI4
ASGNI4
line 940
;940:	}
LABELV $442
line 941
;941:}
LABELV $441
endproc SendPendingPredictableEvents 40 12
proc G_UpdateForceSightBroadcasts 72 12
line 961
;942:
;943:extern int saberOffSound;
;944:extern int saberOnSound;
;945:
;946:/*
;947:==================
;948:G_UpdateClientBroadcasts
;949:
;950:Determines whether this client should be broadcast to any other clients.  
;951:A client is broadcast when another client is using force sight or is
;952:==================
;953:*/
;954:#define MAX_JEDIMASTER_DISTANCE	2500
;955:#define MAX_JEDIMASTER_FOV		100
;956:
;957:#define MAX_SIGHT_DISTANCE		1500
;958:#define MAX_SIGHT_FOV			100
;959:
;960:static void G_UpdateForceSightBroadcasts ( gentity_t *self )
;961:{
line 965
;962:	int i;
;963:
;964:	// Any clients with force sight on should see this client
;965:	for ( i = 0; i < level.numConnectedClients; i ++ )
ADDRLP4 0
CNSTI4 0
ASGNI4
ADDRGP4 $448
JUMPV
LABELV $445
line 966
;966:	{
line 967
;967:		gentity_t *ent = &g_entities[level.sortedClients[i]];
ADDRLP4 4
CNSTI4 852
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 level+84
ADDP4
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ASGNP4
line 971
;968:		float	  dist;
;969:		vec3_t	  angles;
;970:	
;971:		if ( ent == self )
ADDRLP4 4
INDIRP4
CVPU4 4
ADDRFP4 0
INDIRP4
CVPU4 4
NEU4 $451
line 972
;972:		{
line 973
;973:			continue;
ADDRGP4 $446
JUMPV
LABELV $451
line 977
;974:		}
;975:
;976:		// Not using force sight so we shouldnt broadcast to this one
;977:		if ( !(ent->client->ps.fd.forcePowersActive & (1<<FP_SEE) ) )
ADDRLP4 4
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 848
ADDP4
INDIRI4
CNSTI4 16384
BANDI4
CNSTI4 0
NEI4 $453
line 978
;978:		{
line 979
;979:			continue;
ADDRGP4 $446
JUMPV
LABELV $453
line 982
;980:		}
;981:
;982:		VectorSubtract( self->client->ps.origin, ent->client->ps.origin, angles );
ADDRLP4 24
CNSTI4 408
ASGNI4
ADDRLP4 28
ADDRFP4 0
INDIRP4
ADDRLP4 24
INDIRI4
ADDP4
ASGNP4
ADDRLP4 32
CNSTI4 20
ASGNI4
ADDRLP4 36
ADDRLP4 4
INDIRP4
ADDRLP4 24
INDIRI4
ADDP4
ASGNP4
ADDRLP4 8
ADDRLP4 28
INDIRP4
INDIRP4
ADDRLP4 32
INDIRI4
ADDP4
INDIRF4
ADDRLP4 36
INDIRP4
INDIRP4
ADDRLP4 32
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 40
CNSTI4 24
ASGNI4
ADDRLP4 8+4
ADDRLP4 28
INDIRP4
INDIRP4
ADDRLP4 40
INDIRI4
ADDP4
INDIRF4
ADDRLP4 36
INDIRP4
INDIRP4
ADDRLP4 40
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 44
CNSTI4 408
ASGNI4
ADDRLP4 48
CNSTI4 28
ASGNI4
ADDRLP4 8+8
ADDRFP4 0
INDIRP4
ADDRLP4 44
INDIRI4
ADDP4
INDIRP4
ADDRLP4 48
INDIRI4
ADDP4
INDIRF4
ADDRLP4 4
INDIRP4
ADDRLP4 44
INDIRI4
ADDP4
INDIRP4
ADDRLP4 48
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
line 983
;983:		dist = VectorLengthSquared ( angles );
ADDRLP4 8
ARGP4
ADDRLP4 52
ADDRGP4 VectorLengthSquared
CALLF4
ASGNF4
ADDRLP4 20
ADDRLP4 52
INDIRF4
ASGNF4
line 984
;984:		vectoangles ( angles, angles );
ADDRLP4 8
ARGP4
ADDRLP4 8
ARGP4
ADDRGP4 vectoangles
CALLV
pop
line 987
;985:
;986:		// Too far away then just forget it
;987:		if ( dist > MAX_SIGHT_DISTANCE * MAX_SIGHT_DISTANCE )
ADDRLP4 20
INDIRF4
CNSTF4 1242125376
LEF4 $457
line 988
;988:		{
line 989
;989:			continue;
ADDRGP4 $446
JUMPV
LABELV $457
line 993
;990:		}
;991:		
;992:		// If not within the field of view then forget it
;993:		if ( !InFieldOfVision ( ent->client->ps.viewangles, MAX_SIGHT_FOV, angles ) )
ADDRLP4 4
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 156
ADDP4
ARGP4
CNSTF4 1120403456
ARGF4
ADDRLP4 8
ARGP4
ADDRLP4 56
ADDRGP4 InFieldOfVision
CALLI4
ASGNI4
ADDRLP4 56
INDIRI4
CNSTI4 0
NEI4 $459
line 994
;994:		{
line 995
;995:			break;
ADDRGP4 $447
JUMPV
LABELV $459
line 1000
;996:		}
;997:
;998:		// Turn on the broadcast bit for the master and since there is only one
;999:		// master we are done
;1000:		self->r.broadcastClients[ent->s.clientNum/32] |= (1 << (ent->s.clientNum%32));
ADDRLP4 60
ADDRLP4 4
INDIRP4
CNSTI4 220
ADDP4
INDIRI4
ASGNI4
ADDRLP4 64
CNSTI4 32
ASGNI4
ADDRLP4 68
ADDRLP4 60
INDIRI4
ADDRLP4 64
INDIRI4
DIVI4
CNSTI4 2
LSHI4
ADDRFP4 0
INDIRP4
CNSTI4 400
ADDP4
ADDP4
ASGNP4
ADDRLP4 68
INDIRP4
ADDRLP4 68
INDIRP4
INDIRI4
CNSTI4 1
ADDRLP4 60
INDIRI4
ADDRLP4 64
INDIRI4
MODI4
LSHI4
BORI4
ASGNI4
line 1002
;1001:	
;1002:		break;
ADDRGP4 $447
JUMPV
LABELV $446
line 965
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $448
ADDRLP4 0
INDIRI4
ADDRGP4 level+72
INDIRI4
LTI4 $445
LABELV $447
line 1004
;1003:	}
;1004:}
LABELV $444
endproc G_UpdateForceSightBroadcasts 72 12
proc G_UpdateJediMasterBroadcasts 72 12
line 1007
;1005:
;1006:static void G_UpdateJediMasterBroadcasts ( gentity_t *self )
;1007:{
line 1011
;1008:	int i;
;1009:
;1010:	// Not jedi master mode then nothing to do
;1011:	if ( g_gametype.integer != GT_JEDIMASTER )
ADDRGP4 g_gametype+12
INDIRI4
CNSTI4 2
EQI4 $462
line 1012
;1012:	{
line 1013
;1013:		return;
ADDRGP4 $461
JUMPV
LABELV $462
line 1017
;1014:	}
;1015:
;1016:	// This client isnt the jedi master so it shouldnt broadcast
;1017:	if ( !self->client->ps.isJediMaster )
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 604
ADDP4
INDIRI4
CNSTI4 0
NEI4 $465
line 1018
;1018:	{
line 1019
;1019:		return;
ADDRGP4 $461
JUMPV
LABELV $465
line 1023
;1020:	}
;1021:
;1022:	// Broadcast ourself to all clients within range
;1023:	for ( i = 0; i < level.numConnectedClients; i ++ )
ADDRLP4 0
CNSTI4 0
ASGNI4
ADDRGP4 $470
JUMPV
LABELV $467
line 1024
;1024:	{
line 1025
;1025:		gentity_t *ent = &g_entities[level.sortedClients[i]];
ADDRLP4 4
CNSTI4 852
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 level+84
ADDP4
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ASGNP4
line 1029
;1026:		float	  dist;
;1027:		vec3_t	  angles;
;1028:
;1029:		if ( ent == self )
ADDRLP4 4
INDIRP4
CVPU4 4
ADDRFP4 0
INDIRP4
CVPU4 4
NEU4 $473
line 1030
;1030:		{
line 1031
;1031:			continue;
ADDRGP4 $468
JUMPV
LABELV $473
line 1034
;1032:		}
;1033:
;1034:		VectorSubtract( self->client->ps.origin, ent->client->ps.origin, angles );
ADDRLP4 24
CNSTI4 408
ASGNI4
ADDRLP4 28
ADDRFP4 0
INDIRP4
ADDRLP4 24
INDIRI4
ADDP4
ASGNP4
ADDRLP4 32
CNSTI4 20
ASGNI4
ADDRLP4 36
ADDRLP4 4
INDIRP4
ADDRLP4 24
INDIRI4
ADDP4
ASGNP4
ADDRLP4 8
ADDRLP4 28
INDIRP4
INDIRP4
ADDRLP4 32
INDIRI4
ADDP4
INDIRF4
ADDRLP4 36
INDIRP4
INDIRP4
ADDRLP4 32
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 40
CNSTI4 24
ASGNI4
ADDRLP4 8+4
ADDRLP4 28
INDIRP4
INDIRP4
ADDRLP4 40
INDIRI4
ADDP4
INDIRF4
ADDRLP4 36
INDIRP4
INDIRP4
ADDRLP4 40
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 44
CNSTI4 408
ASGNI4
ADDRLP4 48
CNSTI4 28
ASGNI4
ADDRLP4 8+8
ADDRFP4 0
INDIRP4
ADDRLP4 44
INDIRI4
ADDP4
INDIRP4
ADDRLP4 48
INDIRI4
ADDP4
INDIRF4
ADDRLP4 4
INDIRP4
ADDRLP4 44
INDIRI4
ADDP4
INDIRP4
ADDRLP4 48
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
line 1035
;1035:		dist = VectorLengthSquared ( angles );
ADDRLP4 8
ARGP4
ADDRLP4 52
ADDRGP4 VectorLengthSquared
CALLF4
ASGNF4
ADDRLP4 20
ADDRLP4 52
INDIRF4
ASGNF4
line 1036
;1036:		vectoangles ( angles, angles );
ADDRLP4 8
ARGP4
ADDRLP4 8
ARGP4
ADDRGP4 vectoangles
CALLV
pop
line 1039
;1037:
;1038:		// Too far away then just forget it
;1039:		if ( dist > MAX_JEDIMASTER_DISTANCE * MAX_JEDIMASTER_DISTANCE )
ADDRLP4 20
INDIRF4
CNSTF4 1254013984
LEF4 $477
line 1040
;1040:		{
line 1041
;1041:			continue;
ADDRGP4 $468
JUMPV
LABELV $477
line 1045
;1042:		}
;1043:		
;1044:		// If not within the field of view then forget it
;1045:		if ( !InFieldOfVision ( ent->client->ps.viewangles, MAX_JEDIMASTER_FOV, angles ) )
ADDRLP4 4
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 156
ADDP4
ARGP4
CNSTF4 1120403456
ARGF4
ADDRLP4 8
ARGP4
ADDRLP4 56
ADDRGP4 InFieldOfVision
CALLI4
ASGNI4
ADDRLP4 56
INDIRI4
CNSTI4 0
NEI4 $479
line 1046
;1046:		{
line 1047
;1047:			continue;
ADDRGP4 $468
JUMPV
LABELV $479
line 1052
;1048:		}
;1049:
;1050:		// Turn on the broadcast bit for the master and since there is only one
;1051:		// master we are done
;1052:		self->r.broadcastClients[ent->s.clientNum/32] |= (1 << (ent->s.clientNum%32));
ADDRLP4 60
ADDRLP4 4
INDIRP4
CNSTI4 220
ADDP4
INDIRI4
ASGNI4
ADDRLP4 64
CNSTI4 32
ASGNI4
ADDRLP4 68
ADDRLP4 60
INDIRI4
ADDRLP4 64
INDIRI4
DIVI4
CNSTI4 2
LSHI4
ADDRFP4 0
INDIRP4
CNSTI4 400
ADDP4
ADDP4
ASGNP4
ADDRLP4 68
INDIRP4
ADDRLP4 68
INDIRP4
INDIRI4
CNSTI4 1
ADDRLP4 60
INDIRI4
ADDRLP4 64
INDIRI4
MODI4
LSHI4
BORI4
ASGNI4
line 1053
;1053:	}
LABELV $468
line 1023
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $470
ADDRLP4 0
INDIRI4
ADDRGP4 level+72
INDIRI4
LTI4 $467
line 1054
;1054:}
LABELV $461
endproc G_UpdateJediMasterBroadcasts 72 12
export G_UpdateClientBroadcasts
proc G_UpdateClientBroadcasts 0 12
line 1057
;1055:
;1056:void G_UpdateClientBroadcasts ( gentity_t *self )
;1057:{
line 1059
;1058:	// Clear all the broadcast bits for this client
;1059:	memset ( self->r.broadcastClients, 0, sizeof ( self->r.broadcastClients ) );
ADDRFP4 0
INDIRP4
CNSTI4 400
ADDP4
ARGP4
CNSTI4 0
ARGI4
CNSTI4 8
ARGI4
ADDRGP4 memset
CALLP4
pop
line 1062
;1060:
;1061:	// The jedi master is broadcast to everyone in range
;1062:	G_UpdateJediMasterBroadcasts ( self );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 G_UpdateJediMasterBroadcasts
CALLV
pop
line 1065
;1063:
;1064:	// Anyone with force sight on should see this client
;1065:	G_UpdateForceSightBroadcasts ( self );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 G_UpdateForceSightBroadcasts
CALLV
pop
line 1066
;1066:}
LABELV $481
endproc G_UpdateClientBroadcasts 0 12
data
align 4
LABELV $483
byte 4 0
export ClientThink_real
code
proc ClientThink_real 604 32
line 1079
;1067:
;1068:/*
;1069:==============
;1070:ClientThink
;1071:
;1072:This will be called once for each client frame, which will
;1073:usually be a couple times for each server frame on fast clients.
;1074:
;1075:If "g_synchronousClients 1" is set, this will be called exactly
;1076:once for each server frame, which makes for smooth demo recording.
;1077:==============
;1078:*/
;1079:void ClientThink_real( gentity_t *ent ) {
line 1088
;1080:	gclient_t	*client;
;1081:	pmove_t		pm;
;1082:	int			oldEventSequence;
;1083:	int			msec;
;1084:	int			i;
;1085:	usercmd_t	*ucmd;
;1086:	unsigned static int TimeReswitch = 0;
;1087:
;1088:	client = ent->client;
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
line 1091
;1089:
;1090:	// don't think if the client is not yet connected (and thus not yet spawned in)
;1091:	if (client->pers.connected != CON_CONNECTED) {
ADDRLP4 4
INDIRP4
CNSTI4 1380
ADDP4
INDIRI4
CNSTI4 2
EQI4 $484
line 1092
;1092:		return;
ADDRGP4 $482
JUMPV
LABELV $484
line 1095
;1093:	}
;1094:	//JediDog
;1095:	if (TimeReswitch < level.time)
ADDRGP4 $483
INDIRU4
ADDRGP4 level+32
INDIRI4
CVIU4 4
GEU4 $486
line 1096
;1096:	{ 
line 1097
;1097:		ClientUserinfoChanged(ent->client->ps.clientNum);
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 144
ADDP4
INDIRI4
ARGI4
ADDRGP4 ClientUserinfoChanged
CALLV
pop
line 1098
;1098:	}
LABELV $486
line 1099
;1099:	TimeReswitch = level.time + 500;
ADDRGP4 $483
ADDRGP4 level+32
INDIRI4
CNSTI4 500
ADDI4
CVIU4 4
ASGNU4
line 1102
;1100:
;1101:	// mark the time, so the connection sprite can be removed
;1102:	ucmd = &ent->client->pers.cmd;
ADDRLP4 388
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1384
ADDP4
ASGNP4
line 1105
;1103:
;1104:	// sanity check the command time to prevent speedup cheating
;1105:	if ( ucmd->serverTime > level.time + 200 ) {
ADDRLP4 388
INDIRP4
INDIRI4
ADDRGP4 level+32
INDIRI4
CNSTI4 200
ADDI4
LEI4 $490
line 1106
;1106:		ucmd->serverTime = level.time + 200;
ADDRLP4 388
INDIRP4
ADDRGP4 level+32
INDIRI4
CNSTI4 200
ADDI4
ASGNI4
line 1108
;1107://		G_Printf("serverTime <<<<<\n" );
;1108:	}
LABELV $490
line 1109
;1109:	if ( ucmd->serverTime < level.time - 1000 ) {
ADDRLP4 388
INDIRP4
INDIRI4
ADDRGP4 level+32
INDIRI4
CNSTI4 1000
SUBI4
GEI4 $494
line 1110
;1110:		ucmd->serverTime = level.time - 1000;
ADDRLP4 388
INDIRP4
ADDRGP4 level+32
INDIRI4
CNSTI4 1000
SUBI4
ASGNI4
line 1112
;1111://		G_Printf("serverTime >>>>>\n" );
;1112:	} 
LABELV $494
line 1114
;1113:
;1114:	msec = ucmd->serverTime - client->ps.commandTime;
ADDRLP4 392
ADDRLP4 388
INDIRP4
INDIRI4
ADDRLP4 4
INDIRP4
INDIRI4
SUBI4
ASGNI4
line 1117
;1115:	// following others may result in bad times, but we still want
;1116:	// to check for follow toggles
;1117:	if ( msec < 1 && client->sess.spectatorState != SPECTATOR_FOLLOW ) {
ADDRLP4 392
INDIRI4
CNSTI4 1
GEI4 $498
ADDRLP4 4
INDIRP4
CNSTI4 1644
ADDP4
INDIRI4
CNSTI4 2
EQI4 $498
line 1118
;1118:		return;
ADDRGP4 $482
JUMPV
LABELV $498
line 1120
;1119:	}
;1120:	if ( msec > 200 ) {
ADDRLP4 392
INDIRI4
CNSTI4 200
LEI4 $500
line 1121
;1121:		msec = 200;
ADDRLP4 392
CNSTI4 200
ASGNI4
line 1122
;1122:	}
LABELV $500
line 1124
;1123:
;1124:	if ( pmove_msec.integer < 8 ) {
ADDRGP4 pmove_msec+12
INDIRI4
CNSTI4 8
GEI4 $502
line 1125
;1125:		trap_Cvar_Set("pmove_msec", "8");
ADDRGP4 $505
ARGP4
ADDRGP4 $506
ARGP4
ADDRGP4 trap_Cvar_Set
CALLV
pop
line 1126
;1126:	}
ADDRGP4 $503
JUMPV
LABELV $502
line 1127
;1127:	else if (pmove_msec.integer > 33) {
ADDRGP4 pmove_msec+12
INDIRI4
CNSTI4 33
LEI4 $507
line 1128
;1128:		trap_Cvar_Set("pmove_msec", "33");
ADDRGP4 $505
ARGP4
ADDRGP4 $510
ARGP4
ADDRGP4 trap_Cvar_Set
CALLV
pop
line 1129
;1129:	}
LABELV $507
LABELV $503
line 1131
;1130:
;1131:	if ( pmove_fixed.integer || client->pers.pmoveFixed ) {
ADDRLP4 400
CNSTI4 0
ASGNI4
ADDRGP4 pmove_fixed+12
INDIRI4
ADDRLP4 400
INDIRI4
NEI4 $514
ADDRLP4 4
INDIRP4
CNSTI4 1424
ADDP4
INDIRI4
ADDRLP4 400
INDIRI4
EQI4 $511
LABELV $514
line 1132
;1132:		ucmd->serverTime = ((ucmd->serverTime + pmove_msec.integer-1) / pmove_msec.integer) * pmove_msec.integer;
ADDRLP4 388
INDIRP4
ADDRLP4 388
INDIRP4
INDIRI4
ADDRGP4 pmove_msec+12
INDIRI4
ADDI4
CNSTI4 1
SUBI4
ADDRGP4 pmove_msec+12
INDIRI4
DIVI4
ADDRGP4 pmove_msec+12
INDIRI4
MULI4
ASGNI4
line 1135
;1133:		//if (ucmd->serverTime - client->ps.commandTime <= 0)
;1134:		//	return;
;1135:	}
LABELV $511
line 1140
;1136:
;1137:	//
;1138:	// check for exiting intermission
;1139:	//
;1140:	if ( level.intermissiontime ) {
ADDRGP4 level+9008
INDIRI4
CNSTI4 0
EQI4 $518
line 1141
;1141:		ClientIntermissionThink( client );
ADDRLP4 4
INDIRP4
ARGP4
ADDRGP4 ClientIntermissionThink
CALLV
pop
line 1142
;1142:		return;
ADDRGP4 $482
JUMPV
LABELV $518
line 1146
;1143:	}
;1144:
;1145:	// spectators don't do much
;1146:	if ( client->sess.sessionTeam == TEAM_SPECTATOR ) {
ADDRLP4 4
INDIRP4
CNSTI4 1636
ADDP4
INDIRI4
CNSTI4 3
NEI4 $521
line 1147
;1147:		if ( client->sess.spectatorState == SPECTATOR_SCOREBOARD ) {
ADDRLP4 4
INDIRP4
CNSTI4 1644
ADDP4
INDIRI4
CNSTI4 3
NEI4 $523
line 1148
;1148:			return;
ADDRGP4 $482
JUMPV
LABELV $523
line 1150
;1149:		}
;1150:		SpectatorThink( ent, ucmd );
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 388
INDIRP4
ARGP4
ADDRGP4 SpectatorThink
CALLV
pop
line 1151
;1151:		return;
ADDRGP4 $482
JUMPV
LABELV $521
line 1154
;1152:	}
;1153:
;1154:	if (ent && ent->client && (ent->client->ps.eFlags & EF_INVULNERABLE))
ADDRLP4 404
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 408
CNSTU4 0
ASGNU4
ADDRLP4 404
INDIRP4
CVPU4 4
ADDRLP4 408
INDIRU4
EQU4 $525
ADDRLP4 412
ADDRLP4 404
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 412
INDIRP4
CVPU4 4
ADDRLP4 408
INDIRU4
EQU4 $525
ADDRLP4 412
INDIRP4
CNSTI4 108
ADDP4
INDIRI4
CNSTI4 67108864
BANDI4
CNSTI4 0
EQI4 $525
line 1155
;1155:	{
line 1156
;1156:		if (ent->client->invulnerableTimer <= level.time)
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1752
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
GTI4 $527
line 1157
;1157:		{
line 1158
;1158:			ent->client->ps.eFlags &= ~EF_INVULNERABLE;
ADDRLP4 416
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 416
INDIRP4
ADDRLP4 416
INDIRP4
INDIRI4
CNSTI4 -67108865
BANDI4
ASGNI4
line 1159
;1159:		}
LABELV $527
line 1160
;1160:	}
LABELV $525
line 1163
;1161:
;1162:	// check for inactivity timer, but never drop the local client of a non-dedicated server
;1163:	if ( !ClientInactivityTimer( client ) ) {
ADDRLP4 4
INDIRP4
ARGP4
ADDRLP4 416
ADDRGP4 ClientInactivityTimer
CALLI4
ASGNI4
ADDRLP4 416
INDIRI4
CNSTI4 0
NEI4 $530
line 1164
;1164:		return;
ADDRGP4 $482
JUMPV
LABELV $530
line 1168
;1165:	}
;1166:
;1167:	// clear the rewards if time
;1168:	if ( level.time > client->rewardTime ) {
ADDRGP4 level+32
INDIRI4
ADDRLP4 4
INDIRP4
CNSTI4 1872
ADDP4
INDIRI4
LEI4 $532
line 1169
;1169:		client->ps.eFlags &= ~(EF_AWARD_IMPRESSIVE | EF_AWARD_EXCELLENT | EF_AWARD_GAUNTLET | EF_AWARD_ASSIST | EF_AWARD_DEFEND | EF_AWARD_CAP );
ADDRLP4 420
ADDRLP4 4
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 420
INDIRP4
ADDRLP4 420
INDIRP4
INDIRI4
CNSTI4 -231497
BANDI4
ASGNI4
line 1170
;1170:	}
LABELV $532
line 1172
;1171:
;1172:	if ( client->noclip ) {
ADDRLP4 4
INDIRP4
CNSTI4 1764
ADDP4
INDIRI4
CNSTI4 0
EQI4 $535
line 1173
;1173:		client->ps.pm_type = PM_NOCLIP;
ADDRLP4 4
INDIRP4
CNSTI4 4
ADDP4
CNSTI4 2
ASGNI4
line 1174
;1174:	} else if ( client->ps.eFlags & EF_DISINTEGRATION ) {
ADDRGP4 $536
JUMPV
LABELV $535
ADDRLP4 4
INDIRP4
CNSTI4 108
ADDP4
INDIRI4
CNSTI4 33554432
BANDI4
CNSTI4 0
EQI4 $537
line 1175
;1175:		client->ps.pm_type = PM_NOCLIP;
ADDRLP4 4
INDIRP4
CNSTI4 4
ADDP4
CNSTI4 2
ASGNI4
line 1176
;1176:	} else if ( client->ps.stats[STAT_HEALTH] <= 0 ) {
ADDRGP4 $538
JUMPV
LABELV $537
ADDRLP4 4
INDIRP4
CNSTI4 216
ADDP4
INDIRI4
CNSTI4 0
GTI4 $539
line 1177
;1177:		client->ps.pm_type = PM_DEAD;
ADDRLP4 420
CNSTI4 4
ASGNI4
ADDRLP4 4
INDIRP4
ADDRLP4 420
INDIRI4
ADDP4
ADDRLP4 420
INDIRI4
ASGNI4
line 1178
;1178:	} else {
ADDRGP4 $540
JUMPV
LABELV $539
line 1179
;1179:		if (client->ps.forceGripChangeMovetype)
ADDRLP4 4
INDIRP4
CNSTI4 1288
ADDP4
INDIRI4
CNSTI4 0
EQI4 $541
line 1180
;1180:		{
line 1181
;1181:			client->ps.pm_type = client->ps.forceGripChangeMovetype;
ADDRLP4 4
INDIRP4
CNSTI4 4
ADDP4
ADDRLP4 4
INDIRP4
CNSTI4 1288
ADDP4
INDIRI4
ASGNI4
line 1182
;1182:		}
ADDRGP4 $542
JUMPV
LABELV $541
line 1184
;1183:		else
;1184:		{
line 1185
;1185:			if (client->freeze==1)
ADDRLP4 4
INDIRP4
CNSTI4 3012
ADDP4
INDIRI4
CNSTI4 1
NEI4 $543
line 1186
;1186:			{
line 1187
;1187:				if (client->pers.cmd.forwardmove || client->pers.cmd.rightmove || client->pers.cmd.upmove) {
ADDRLP4 424
CNSTI4 0
ASGNI4
ADDRLP4 4
INDIRP4
CNSTI4 1408
ADDP4
INDIRI1
CVII4 1
ADDRLP4 424
INDIRI4
NEI4 $548
ADDRLP4 4
INDIRP4
CNSTI4 1409
ADDP4
INDIRI1
CVII4 1
ADDRLP4 424
INDIRI4
NEI4 $548
ADDRLP4 4
INDIRP4
CNSTI4 1410
ADDP4
INDIRI1
CVII4 1
ADDRLP4 424
INDIRI4
EQI4 $545
LABELV $548
line 1188
;1188:					client->ps.saberCanThrow = qtrue;
ADDRLP4 4
INDIRP4
CNSTI4 560
ADDP4
CNSTI4 1
ASGNI4
line 1189
;1189:					client->ps.pm_type = PM_NORMAL;
ADDRLP4 4
INDIRP4
CNSTI4 4
ADDP4
CNSTI4 0
ASGNI4
line 1190
;1190:					client->freeze=0;
ADDRLP4 4
INDIRP4
CNSTI4 3012
ADDP4
CNSTI4 0
ASGNI4
line 1191
;1191:				} else {
ADDRGP4 $544
JUMPV
LABELV $545
line 1192
;1192:					client->ps.pm_type = PM_FREEZE;
ADDRLP4 4
INDIRP4
CNSTI4 4
ADDP4
CNSTI4 5
ASGNI4
line 1193
;1193:				}
line 1194
;1194:			}
ADDRGP4 $544
JUMPV
LABELV $543
line 1196
;1195:			else
;1196:			{
line 1197
;1197:				client->ps.pm_type = PM_NORMAL;
ADDRLP4 4
INDIRP4
CNSTI4 4
ADDP4
CNSTI4 0
ASGNI4
line 1198
;1198:			}
LABELV $544
line 1199
;1199:		}
LABELV $542
line 1200
;1200:	}
LABELV $540
LABELV $538
LABELV $536
line 1202
;1201:
;1202:	client->ps.gravity = g_gravity.value;
ADDRLP4 4
INDIRP4
CNSTI4 56
ADDP4
ADDRGP4 g_gravity+8
INDIRF4
CVFI4 4
ASGNI4
line 1205
;1203:
;1204:	// set speed
;1205:	client->ps.speed = g_speed.value;
ADDRLP4 4
INDIRP4
CNSTI4 60
ADDP4
ADDRGP4 g_speed+8
INDIRF4
CVFI4 4
ASGNI4
line 1206
;1206:	client->ps.basespeed = g_speed.value;
ADDRLP4 4
INDIRP4
CNSTI4 64
ADDP4
ADDRGP4 g_speed+8
INDIRF4
CVFI4 4
ASGNI4
line 1208
;1207:
;1208:	if (ent->client->pers.ampunish == qtrue) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1544
ADDP4
INDIRI4
CNSTI4 1
NEI4 $552
line 1209
;1209:		ent->client->ps.pm_type = PM_FLOAT;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 4
ADDP4
CNSTI4 1
ASGNI4
line 1210
;1210:		ent->client->ps.weaponTime = 100;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 44
ADDP4
CNSTI4 100
ASGNI4
line 1211
;1211:	}
LABELV $552
line 1213
;1212:
;1213:	if (level.meetingMode == qtrue || level.matchMode == qtrue){
ADDRLP4 420
CNSTI4 1
ASGNI4
ADDRGP4 level+9112
INDIRI4
ADDRLP4 420
INDIRI4
EQI4 $558
ADDRGP4 level+9116
INDIRI4
ADDRLP4 420
INDIRI4
NEI4 $554
LABELV $558
line 1214
;1214:		if( ent->r.svFlags & SVF_BOT ){
ADDRFP4 0
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
CNSTI4 8
BANDI4
CNSTI4 0
EQI4 $559
line 1215
;1215:			if (ent->client->sess.sessionTeam != TEAM_SPECTATOR){
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1636
ADDP4
INDIRI4
CNSTI4 3
EQI4 $561
line 1216
;1216:						SetTeam(ent, "spectator" );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 $563
ARGP4
ADDRGP4 SetTeam
CALLV
pop
line 1217
;1217:			}
LABELV $561
line 1218
;1218:		}
LABELV $559
line 1219
;1219:	}
LABELV $554
line 1220
;1220:	if (level.meetingMode == qtrue){
ADDRGP4 level+9112
INDIRI4
CNSTI4 1
NEI4 $564
line 1221
;1221:		ent->client->ps.weaponTime = 100;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 44
ADDP4
CNSTI4 100
ASGNI4
line 1222
;1222:		ent->client->ps.forceRestricted = qtrue;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 608
ADDP4
CNSTI4 1
ASGNI4
line 1223
;1223:		ent->client->ps.saberHolstered = qtrue;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1312
ADDP4
CNSTI4 1
ASGNI4
line 1224
;1224:	}
LABELV $564
line 1226
;1225:
;1226:	if (ent->client->ps.duelInProgress)
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1304
ADDP4
INDIRI4
CNSTI4 0
EQI4 $567
line 1227
;1227:	{
line 1228
;1228:		gentity_t *duelAgainst = &g_entities[ent->client->ps.duelIndex];
ADDRLP4 424
CNSTI4 852
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1296
ADDP4
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ASGNP4
line 1236
;1229:
;1230:		//Keep the time updated, so once this duel ends this player can't engage in a duel for another
;1231:		//10 seconds. This will give other people a chance to engage in duels in case this player wants
;1232:		//to engage again right after he's done fighting and someone else is waiting.
;1233:		//cm NOTE: duel time removal
;1234:		//ent->client->ps.fd.privateDuelTime = level.time + 10000;
;1235:
;1236:		if (ent->client->ps.duelTime < level.time)
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1300
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
GEI4 $569
line 1237
;1237:		{
line 1239
;1238:			//Bring out the sabers
;1239:			if (ent->client->ps.weapon == WP_SABER && ent->client->ps.saberHolstered &&
ADDRLP4 428
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 428
INDIRP4
CNSTI4 148
ADDP4
INDIRI4
CNSTI4 2
NEI4 $572
ADDRLP4 432
CNSTI4 0
ASGNI4
ADDRLP4 428
INDIRP4
CNSTI4 1312
ADDP4
INDIRI4
ADDRLP4 432
INDIRI4
EQI4 $572
ADDRLP4 428
INDIRP4
CNSTI4 1300
ADDP4
INDIRI4
ADDRLP4 432
INDIRI4
EQI4 $572
line 1241
;1240:				ent->client->ps.duelTime)
;1241:			{
line 1242
;1242:				if (cm_duelbeginsaberoff.integer == 0) {
ADDRGP4 cm_duelbeginsaberoff+12
INDIRI4
CNSTI4 0
NEI4 $574
line 1243
;1243:				if (!saberOffSound || !saberOnSound)
ADDRLP4 436
CNSTI4 0
ASGNI4
ADDRGP4 saberOffSound
INDIRI4
ADDRLP4 436
INDIRI4
EQI4 $579
ADDRGP4 saberOnSound
INDIRI4
ADDRLP4 436
INDIRI4
NEI4 $577
LABELV $579
line 1244
;1244:				{
line 1245
;1245:					saberOffSound = G_SoundIndex("sound/weapons/saber/saberoffquick.wav");
ADDRGP4 $580
ARGP4
ADDRLP4 440
ADDRGP4 G_SoundIndex
CALLI4
ASGNI4
ADDRGP4 saberOffSound
ADDRLP4 440
INDIRI4
ASGNI4
line 1246
;1246:					saberOnSound = G_SoundIndex("sound/weapons/saber/saberon.wav");
ADDRGP4 $581
ARGP4
ADDRLP4 444
ADDRGP4 G_SoundIndex
CALLI4
ASGNI4
ADDRGP4 saberOnSound
ADDRLP4 444
INDIRI4
ASGNI4
line 1247
;1247:				}
LABELV $577
line 1249
;1248:
;1249:				ent->client->ps.saberHolstered = qfalse;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1312
ADDP4
CNSTI4 0
ASGNI4
line 1250
;1250:				G_Sound(ent, CHAN_AUTO, saberOnSound);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 0
ARGI4
ADDRGP4 saberOnSound
INDIRI4
ARGI4
ADDRGP4 G_Sound
CALLV
pop
line 1251
;1251:				}
LABELV $574
line 1253
;1252:
;1253:				G_AddEvent(ent, EV_PRIVATE_DUEL, 2);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 13
ARGI4
CNSTI4 2
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1255
;1254:
;1255:				ent->client->ps.duelTime = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1300
ADDP4
CNSTI4 0
ASGNI4
line 1256
;1256:			}
LABELV $572
line 1258
;1257:
;1258:			if (duelAgainst && duelAgainst->client && duelAgainst->inuse &&
ADDRLP4 440
CNSTU4 0
ASGNU4
ADDRLP4 424
INDIRP4
CVPU4 4
ADDRLP4 440
INDIRU4
EQU4 $570
ADDRLP4 444
ADDRLP4 424
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 444
INDIRP4
CVPU4 4
ADDRLP4 440
INDIRU4
EQU4 $570
ADDRLP4 448
CNSTI4 0
ASGNI4
ADDRLP4 424
INDIRP4
CNSTI4 412
ADDP4
INDIRI4
ADDRLP4 448
INDIRI4
EQI4 $570
ADDRLP4 444
INDIRP4
CNSTI4 148
ADDP4
INDIRI4
CNSTI4 2
NEI4 $570
ADDRLP4 444
INDIRP4
CNSTI4 1312
ADDP4
INDIRI4
ADDRLP4 448
INDIRI4
EQI4 $570
ADDRLP4 444
INDIRP4
CNSTI4 1300
ADDP4
INDIRI4
ADDRLP4 448
INDIRI4
EQI4 $570
line 1261
;1259:				duelAgainst->client->ps.weapon == WP_SABER && duelAgainst->client->ps.saberHolstered &&
;1260:				duelAgainst->client->ps.duelTime)
;1261:			{
line 1262
;1262:				if (cm_duelbeginsaberoff.integer == 0) {
ADDRGP4 cm_duelbeginsaberoff+12
INDIRI4
CNSTI4 0
NEI4 $584
line 1263
;1263:				if (!saberOffSound || !saberOnSound)
ADDRLP4 452
CNSTI4 0
ASGNI4
ADDRGP4 saberOffSound
INDIRI4
ADDRLP4 452
INDIRI4
EQI4 $589
ADDRGP4 saberOnSound
INDIRI4
ADDRLP4 452
INDIRI4
NEI4 $587
LABELV $589
line 1264
;1264:				{
line 1265
;1265:					saberOffSound = G_SoundIndex("sound/weapons/saber/saberoffquick.wav");
ADDRGP4 $580
ARGP4
ADDRLP4 456
ADDRGP4 G_SoundIndex
CALLI4
ASGNI4
ADDRGP4 saberOffSound
ADDRLP4 456
INDIRI4
ASGNI4
line 1266
;1266:					saberOnSound = G_SoundIndex("sound/weapons/saber/saberon.wav");
ADDRGP4 $581
ARGP4
ADDRLP4 460
ADDRGP4 G_SoundIndex
CALLI4
ASGNI4
ADDRGP4 saberOnSound
ADDRLP4 460
INDIRI4
ASGNI4
line 1267
;1267:				}
LABELV $587
line 1269
;1268:
;1269:				duelAgainst->client->ps.saberHolstered = qfalse;
ADDRLP4 424
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1312
ADDP4
CNSTI4 0
ASGNI4
line 1270
;1270:				G_Sound(duelAgainst, CHAN_AUTO, saberOnSound);
ADDRLP4 424
INDIRP4
ARGP4
CNSTI4 0
ARGI4
ADDRGP4 saberOnSound
INDIRI4
ARGI4
ADDRGP4 G_Sound
CALLV
pop
line 1271
;1271:				}
LABELV $584
line 1273
;1272:
;1273:				G_AddEvent(duelAgainst, EV_PRIVATE_DUEL, 2);
ADDRLP4 424
INDIRP4
ARGP4
CNSTI4 13
ARGI4
CNSTI4 2
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1275
;1274:
;1275:				duelAgainst->client->ps.duelTime = 0;
ADDRLP4 424
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1300
ADDP4
CNSTI4 0
ASGNI4
line 1276
;1276:			}
line 1277
;1277:		}
ADDRGP4 $570
JUMPV
LABELV $569
line 1279
;1278:		else
;1279:		{
line 1280
;1280:			client->ps.speed = 0;
ADDRLP4 4
INDIRP4
CNSTI4 60
ADDP4
CNSTI4 0
ASGNI4
line 1281
;1281:			client->ps.basespeed = 0;
ADDRLP4 4
INDIRP4
CNSTI4 64
ADDP4
CNSTI4 0
ASGNI4
line 1282
;1282:			ucmd->forwardmove = 0;
ADDRLP4 388
INDIRP4
CNSTI4 24
ADDP4
CNSTI1 0
ASGNI1
line 1283
;1283:			ucmd->rightmove = 0;
ADDRLP4 388
INDIRP4
CNSTI4 25
ADDP4
CNSTI1 0
ASGNI1
line 1284
;1284:			ucmd->upmove = 0;
ADDRLP4 388
INDIRP4
CNSTI4 26
ADDP4
CNSTI1 0
ASGNI1
line 1285
;1285:		}
LABELV $570
line 1287
;1286:
;1287:		if (!duelAgainst || !duelAgainst->client || !duelAgainst->inuse ||
ADDRLP4 432
CNSTU4 0
ASGNU4
ADDRLP4 424
INDIRP4
CVPU4 4
ADDRLP4 432
INDIRU4
EQU4 $594
ADDRLP4 436
ADDRLP4 424
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 436
INDIRP4
CVPU4 4
ADDRLP4 432
INDIRU4
EQU4 $594
ADDRLP4 424
INDIRP4
CNSTI4 412
ADDP4
INDIRI4
CNSTI4 0
EQI4 $594
ADDRLP4 436
INDIRP4
CNSTI4 1296
ADDP4
INDIRI4
ADDRFP4 0
INDIRP4
INDIRI4
EQI4 $590
LABELV $594
line 1289
;1288:			duelAgainst->client->ps.duelIndex != ent->s.number)
;1289:		{
line 1290
;1290:			ent->client->ps.duelInProgress = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1304
ADDP4
CNSTI4 0
ASGNI4
line 1291
;1291:			G_AddEvent(ent, EV_PRIVATE_DUEL, 0);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 13
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1292
;1292:		}
ADDRGP4 $591
JUMPV
LABELV $590
line 1293
;1293:		else if (duelAgainst->health < 1 || duelAgainst->client->ps.stats[STAT_HEALTH] < 1)
ADDRLP4 444
CNSTI4 1
ASGNI4
ADDRLP4 424
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ADDRLP4 444
INDIRI4
LTI4 $597
ADDRLP4 424
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 216
ADDP4
INDIRI4
ADDRLP4 444
INDIRI4
GEI4 $595
LABELV $597
line 1294
;1294:		{
line 1295
;1295:			if (cm_duelstatus.integer >= 1)
ADDRGP4 cm_duelstatus+12
INDIRI4
CNSTI4 1
LTI4 $598
line 1296
;1296:			{
line 1297
;1297:			trap_SendServerCommand( -1, va("print \"%s ^7survived with ^5%d ^7health and ^5%d ^7shield\n\"",
ADDRGP4 $601
ARGP4
ADDRLP4 448
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 448
INDIRP4
CNSTI4 1428
ADDP4
ARGP4
ADDRLP4 448
INDIRP4
CNSTI4 216
ADDP4
INDIRI4
ARGI4
ADDRLP4 448
INDIRP4
CNSTI4 236
ADDP4
INDIRI4
ARGI4
ADDRLP4 452
ADDRGP4 va
CALLP4
ASGNP4
CNSTI4 -1
ARGI4
ADDRLP4 452
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1301
;1298:			ent->client->pers.netname, ent->client->ps.stats[STAT_HEALTH], ent->client->ps.stats[STAT_ARMOR] ) );
;1299:			/*trap_SendServerCommand( ent-g_entities, va("cp \"^7You survived with\n^1%d^7/^2%d\n\"",
;1300:			ent->client->ps.stats[STAT_HEALTH], ent->client->ps.stats[STAT_ARMOR] ) );*/
;1301:			}
LABELV $598
line 1303
;1302:
;1303:			ent->client->ps.duelInProgress = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1304
ADDP4
CNSTI4 0
ASGNI4
line 1304
;1304:			duelAgainst->client->ps.duelInProgress = 0;
ADDRLP4 424
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1304
ADDP4
CNSTI4 0
ASGNI4
line 1306
;1305:
;1306:			G_AddEvent(ent, EV_PRIVATE_DUEL, 0);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 13
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1307
;1307:			G_AddEvent(duelAgainst, EV_PRIVATE_DUEL, 0);
ADDRLP4 424
INDIRP4
ARGP4
CNSTI4 13
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1310
;1308:
;1309:			//Winner gets full health.. providing he's still alive
;1310:			if (ent->health > 0 && ent->client->ps.stats[STAT_HEALTH] > 0)
ADDRLP4 448
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 452
CNSTI4 0
ASGNI4
ADDRLP4 448
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ADDRLP4 452
INDIRI4
LEI4 $602
ADDRLP4 448
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 216
ADDP4
INDIRI4
ADDRLP4 452
INDIRI4
LEI4 $602
line 1311
;1311:			{
line 1317
;1312:				/*if (ent->health < ent->client->ps.stats[STAT_MAX_HEALTH])
;1313:				{
;1314:					ent->client->ps.stats[STAT_HEALTH] = ent->health = ent->client->ps.stats[STAT_MAX_HEALTH];
;1315:				}*/
;1316:				//cm NOTE: FULL heal
;1317:				ent->client->ps.stats[STAT_HEALTH] = ent->health = ent->client->ps.stats[STAT_MAX_HEALTH] + 25;
ADDRLP4 456
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 460
ADDRLP4 456
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 464
ADDRLP4 460
INDIRP4
CNSTI4 248
ADDP4
INDIRI4
CNSTI4 25
ADDI4
ASGNI4
ADDRLP4 456
INDIRP4
CNSTI4 676
ADDP4
ADDRLP4 464
INDIRI4
ASGNI4
ADDRLP4 460
INDIRP4
CNSTI4 216
ADDP4
ADDRLP4 464
INDIRI4
ASGNI4
line 1318
;1318:				ent->client->ps.stats[STAT_ARMOR] = 25;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 236
ADDP4
CNSTI4 25
ASGNI4
line 1320
;1319:
;1320:				if (g_spawnInvulnerability.integer)
ADDRGP4 g_spawnInvulnerability+12
INDIRI4
CNSTI4 0
EQI4 $604
line 1321
;1321:				{
line 1322
;1322:					ent->client->ps.eFlags |= EF_INVULNERABLE;
ADDRLP4 468
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 468
INDIRP4
ADDRLP4 468
INDIRP4
INDIRI4
CNSTI4 67108864
BORI4
ASGNI4
line 1323
;1323:					ent->client->invulnerableTimer = level.time + g_spawnInvulnerability.integer;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1752
ADDP4
ADDRGP4 level+32
INDIRI4
ADDRGP4 g_spawnInvulnerability+12
INDIRI4
ADDI4
ASGNI4
line 1324
;1324:				}
LABELV $604
line 1325
;1325:			}
LABELV $602
line 1332
;1326:
;1327:			/*
;1328:			trap_SendServerCommand( ent-g_entities, va("print \"%s %s\n\"", ent->client->pers.netname, G_GetStripEdString("SVINGAME", "PLDUELWINNER")) );
;1329:			trap_SendServerCommand( duelAgainst-g_entities, va("print \"%s %s\n\"", ent->client->pers.netname, G_GetStripEdString("SVINGAME", "PLDUELWINNER")) );
;1330:			*/
;1331:			//Private duel announcements are now made globally because we only want one duel at a time.
;1332:			if (ent->health > 0 && ent->client->ps.stats[STAT_HEALTH] > 0)
ADDRLP4 456
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 460
CNSTI4 0
ASGNI4
ADDRLP4 456
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ADDRLP4 460
INDIRI4
LEI4 $609
ADDRLP4 456
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 216
ADDP4
INDIRI4
ADDRLP4 460
INDIRI4
LEI4 $609
line 1333
;1333:			{
line 1334
;1334:				if (cm_multiduels.integer==0){
ADDRGP4 cm_multiduels+12
INDIRI4
CNSTI4 0
NEI4 $611
line 1335
;1335:					trap_SendServerCommand( -1, va("cp \"%s %s %s!\n\"", ent->client->pers.netname, G_GetStripEdString("SVINGAME", "PLDUELWINNER"), duelAgainst->client->pers.netname) );
ADDRGP4 $615
ARGP4
ADDRGP4 $616
ARGP4
ADDRLP4 464
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $614
ARGP4
ADDRLP4 468
CNSTI4 408
ASGNI4
ADDRLP4 472
CNSTI4 1428
ASGNI4
ADDRFP4 0
INDIRP4
ADDRLP4 468
INDIRI4
ADDP4
INDIRP4
ADDRLP4 472
INDIRI4
ADDP4
ARGP4
ADDRLP4 464
INDIRP4
ARGP4
ADDRLP4 424
INDIRP4
ADDRLP4 468
INDIRI4
ADDP4
INDIRP4
ADDRLP4 472
INDIRI4
ADDP4
ARGP4
ADDRLP4 476
ADDRGP4 va
CALLP4
ASGNP4
CNSTI4 -1
ARGI4
ADDRLP4 476
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1336
;1336:				} else {
ADDRGP4 $612
JUMPV
LABELV $611
line 1337
;1337:					trap_SendServerCommand( ent-g_entities, va("cp \"%s %s %s!\n\"", ent->client->pers.netname, G_GetStripEdString("SVINGAME", "PLDUELWINNER"), duelAgainst->client->pers.netname) );
ADDRGP4 $615
ARGP4
ADDRGP4 $616
ARGP4
ADDRLP4 464
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $614
ARGP4
ADDRLP4 468
CNSTI4 408
ASGNI4
ADDRLP4 472
CNSTI4 1428
ASGNI4
ADDRFP4 0
INDIRP4
ADDRLP4 468
INDIRI4
ADDP4
INDIRP4
ADDRLP4 472
INDIRI4
ADDP4
ARGP4
ADDRLP4 464
INDIRP4
ARGP4
ADDRLP4 424
INDIRP4
ADDRLP4 468
INDIRI4
ADDP4
INDIRP4
ADDRLP4 472
INDIRI4
ADDP4
ARGP4
ADDRLP4 476
ADDRGP4 va
CALLP4
ASGNP4
ADDRFP4 0
INDIRP4
CVPU4 4
ADDRGP4 g_entities
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 852
DIVI4
ARGI4
ADDRLP4 476
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1338
;1338:					trap_SendServerCommand( duelAgainst-g_entities, va("cp \"%s %s %s!\n\"", ent->client->pers.netname, G_GetStripEdString("SVINGAME", "PLDUELWINNER"), duelAgainst->client->pers.netname) );
ADDRGP4 $615
ARGP4
ADDRGP4 $616
ARGP4
ADDRLP4 480
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $614
ARGP4
ADDRLP4 484
CNSTI4 408
ASGNI4
ADDRLP4 488
CNSTI4 1428
ASGNI4
ADDRFP4 0
INDIRP4
ADDRLP4 484
INDIRI4
ADDP4
INDIRP4
ADDRLP4 488
INDIRI4
ADDP4
ARGP4
ADDRLP4 480
INDIRP4
ARGP4
ADDRLP4 424
INDIRP4
ADDRLP4 484
INDIRI4
ADDP4
INDIRP4
ADDRLP4 488
INDIRI4
ADDP4
ARGP4
ADDRLP4 492
ADDRGP4 va
CALLP4
ASGNP4
ADDRLP4 424
INDIRP4
CVPU4 4
ADDRGP4 g_entities
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 852
DIVI4
ARGI4
ADDRLP4 492
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1339
;1339:				}
LABELV $612
line 1340
;1340:				trap_SendServerCommand( -1, va("print \"%s %s %s!\n\"", ent->client->pers.netname, G_GetStripEdString("SVINGAME", "PLDUELWINNER"), duelAgainst->client->pers.netname) );
ADDRGP4 $615
ARGP4
ADDRGP4 $616
ARGP4
ADDRLP4 464
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $617
ARGP4
ADDRLP4 468
CNSTI4 408
ASGNI4
ADDRLP4 472
CNSTI4 1428
ASGNI4
ADDRFP4 0
INDIRP4
ADDRLP4 468
INDIRI4
ADDP4
INDIRP4
ADDRLP4 472
INDIRI4
ADDP4
ARGP4
ADDRLP4 464
INDIRP4
ARGP4
ADDRLP4 424
INDIRP4
ADDRLP4 468
INDIRI4
ADDP4
INDIRP4
ADDRLP4 472
INDIRI4
ADDP4
ARGP4
ADDRLP4 476
ADDRGP4 va
CALLP4
ASGNP4
CNSTI4 -1
ARGI4
ADDRLP4 476
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1341
;1341:			}
ADDRGP4 $596
JUMPV
LABELV $609
line 1343
;1342:			else
;1343:			{ //it was a draw, because we both managed to die in the same frame
line 1344
;1344:				if (cm_multiduels.integer==0){
ADDRGP4 cm_multiduels+12
INDIRI4
CNSTI4 0
NEI4 $618
line 1345
;1345:					trap_SendServerCommand( -1, va("cp \"%s\n\"", G_GetStripEdString("SVINGAME", "PLDUELTIE")) );
ADDRGP4 $615
ARGP4
ADDRGP4 $622
ARGP4
ADDRLP4 464
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $621
ARGP4
ADDRLP4 464
INDIRP4
ARGP4
ADDRLP4 468
ADDRGP4 va
CALLP4
ASGNP4
CNSTI4 -1
ARGI4
ADDRLP4 468
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1346
;1346:				} else {
ADDRGP4 $619
JUMPV
LABELV $618
line 1347
;1347:					trap_SendServerCommand( ent-g_entities, va("cp \"%s\n\"", G_GetStripEdString("SVINGAME", "PLDUELTIE")) );
ADDRGP4 $615
ARGP4
ADDRGP4 $622
ARGP4
ADDRLP4 464
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $621
ARGP4
ADDRLP4 464
INDIRP4
ARGP4
ADDRLP4 468
ADDRGP4 va
CALLP4
ASGNP4
ADDRFP4 0
INDIRP4
CVPU4 4
ADDRGP4 g_entities
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 852
DIVI4
ARGI4
ADDRLP4 468
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1348
;1348:					trap_SendServerCommand( duelAgainst-g_entities, va("cp \"%s\n\"", G_GetStripEdString("SVINGAME", "PLDUELTIE")) );
ADDRGP4 $615
ARGP4
ADDRGP4 $622
ARGP4
ADDRLP4 472
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $621
ARGP4
ADDRLP4 472
INDIRP4
ARGP4
ADDRLP4 476
ADDRGP4 va
CALLP4
ASGNP4
ADDRLP4 424
INDIRP4
CVPU4 4
ADDRGP4 g_entities
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 852
DIVI4
ARGI4
ADDRLP4 476
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1349
;1349:				}
LABELV $619
line 1350
;1350:				trap_SendServerCommand( -1, va("cp \"%s\n\"", G_GetStripEdString("SVINGAME", "PLDUELTIE")) );
ADDRGP4 $615
ARGP4
ADDRGP4 $622
ARGP4
ADDRLP4 464
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $621
ARGP4
ADDRLP4 464
INDIRP4
ARGP4
ADDRLP4 468
ADDRGP4 va
CALLP4
ASGNP4
CNSTI4 -1
ARGI4
ADDRLP4 468
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1351
;1351:			}
line 1352
;1352:		}
ADDRGP4 $596
JUMPV
LABELV $595
line 1354
;1353:		else
;1354:		{
line 1356
;1355:			vec3_t vSub;
;1356:			float subLen = 0;
ADDRLP4 448
CNSTF4 0
ASGNF4
line 1358
;1357:
;1358:			VectorSubtract(ent->client->ps.origin, duelAgainst->client->ps.origin, vSub);
ADDRLP4 464
CNSTI4 408
ASGNI4
ADDRLP4 468
ADDRFP4 0
INDIRP4
ADDRLP4 464
INDIRI4
ADDP4
ASGNP4
ADDRLP4 472
CNSTI4 20
ASGNI4
ADDRLP4 476
ADDRLP4 424
INDIRP4
ADDRLP4 464
INDIRI4
ADDP4
ASGNP4
ADDRLP4 452
ADDRLP4 468
INDIRP4
INDIRP4
ADDRLP4 472
INDIRI4
ADDP4
INDIRF4
ADDRLP4 476
INDIRP4
INDIRP4
ADDRLP4 472
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 480
CNSTI4 24
ASGNI4
ADDRLP4 452+4
ADDRLP4 468
INDIRP4
INDIRP4
ADDRLP4 480
INDIRI4
ADDP4
INDIRF4
ADDRLP4 476
INDIRP4
INDIRP4
ADDRLP4 480
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 484
CNSTI4 408
ASGNI4
ADDRLP4 488
CNSTI4 28
ASGNI4
ADDRLP4 452+8
ADDRFP4 0
INDIRP4
ADDRLP4 484
INDIRI4
ADDP4
INDIRP4
ADDRLP4 488
INDIRI4
ADDP4
INDIRF4
ADDRLP4 424
INDIRP4
ADDRLP4 484
INDIRI4
ADDP4
INDIRP4
ADDRLP4 488
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
line 1359
;1359:			subLen = VectorLength(vSub);
ADDRLP4 452
ARGP4
ADDRLP4 492
ADDRGP4 VectorLength
CALLF4
ASGNF4
ADDRLP4 448
ADDRLP4 492
INDIRF4
ASGNF4
line 1361
;1360:
;1361:			if (cm_duelradius.integer == 0) {
ADDRGP4 cm_duelradius+12
INDIRI4
CNSTI4 0
NEI4 $625
line 1362
;1362:				if (subLen >= 1024)
ADDRLP4 448
INDIRF4
CNSTF4 1149239296
LTF4 $628
line 1363
;1363:				{
line 1364
;1364:					ent->client->ps.duelInProgress = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1304
ADDP4
CNSTI4 0
ASGNI4
line 1365
;1365:					duelAgainst->client->ps.duelInProgress = 0;
ADDRLP4 424
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1304
ADDP4
CNSTI4 0
ASGNI4
line 1367
;1366:
;1367:					G_AddEvent(ent, EV_PRIVATE_DUEL, 0);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 13
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1368
;1368:					G_AddEvent(duelAgainst, EV_PRIVATE_DUEL, 0);
ADDRLP4 424
INDIRP4
ARGP4
CNSTI4 13
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1370
;1369:
;1370:					trap_SendServerCommand( -1, va("print \"%s\n\"", G_GetStripEdString("SVINGAME", "PLDUELSTOP")) );
ADDRGP4 $615
ARGP4
ADDRGP4 $631
ARGP4
ADDRLP4 496
ADDRGP4 G_GetStripEdString
CALLP4
ASGNP4
ADDRGP4 $630
ARGP4
ADDRLP4 496
INDIRP4
ARGP4
ADDRLP4 500
ADDRGP4 va
CALLP4
ASGNP4
CNSTI4 -1
ARGI4
ADDRLP4 500
INDIRP4
ARGP4
ADDRGP4 trap_SendServerCommand
CALLV
pop
line 1371
;1371:				}
LABELV $628
line 1372
;1372:			}
LABELV $625
line 1373
;1373:		}
LABELV $596
LABELV $591
line 1374
;1374:	}
LABELV $567
line 1382
;1375:
;1376:	/*
;1377:	if ( client->ps.powerups[PW_HASTE] ) {
;1378:		client->ps.speed *= 1.3;
;1379:	}
;1380:	*/
;1381:
;1382:	if (client->ps.usingATST && ent->health > 0)
ADDRLP4 424
CNSTI4 0
ASGNI4
ADDRLP4 4
INDIRP4
CNSTI4 1316
ADDP4
INDIRI4
ADDRLP4 424
INDIRI4
EQI4 $632
ADDRFP4 0
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ADDRLP4 424
INDIRI4
LEI4 $632
line 1383
;1383:	{ //we have special shot clip boxes as an ATST
line 1384
;1384:		ent->r.contents |= CONTENTS_NOSHOT;
ADDRLP4 428
ADDRFP4 0
INDIRP4
CNSTI4 340
ADDP4
ASGNP4
ADDRLP4 428
INDIRP4
ADDRLP4 428
INDIRP4
INDIRI4
CNSTI4 2097152
BORI4
ASGNI4
line 1385
;1385:		ATST_ManageDamageBoxes(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ATST_ManageDamageBoxes
CALLV
pop
line 1386
;1386:	}
ADDRGP4 $633
JUMPV
LABELV $632
line 1388
;1387:	else
;1388:	{
line 1389
;1389:		ent->r.contents &= ~CONTENTS_NOSHOT;
ADDRLP4 428
ADDRFP4 0
INDIRP4
CNSTI4 340
ADDP4
ASGNP4
ADDRLP4 428
INDIRP4
ADDRLP4 428
INDIRP4
INDIRI4
CNSTI4 -2097153
BANDI4
ASGNI4
line 1390
;1390:		client->damageBoxHandle_Head = 0;
ADDRLP4 4
INDIRP4
CNSTI4 1824
ADDP4
CNSTI4 0
ASGNI4
line 1391
;1391:		client->damageBoxHandle_RLeg = 0;
ADDRLP4 4
INDIRP4
CNSTI4 1828
ADDP4
CNSTI4 0
ASGNI4
line 1392
;1392:		client->damageBoxHandle_LLeg = 0;
ADDRLP4 4
INDIRP4
CNSTI4 1832
ADDP4
CNSTI4 0
ASGNI4
line 1393
;1393:	}
LABELV $633
line 1399
;1394:
;1395:	//rww - moved this stuff into the pmove code so that it's predicted properly
;1396:	//BG_AdjustClientSpeed(&client->ps, &client->pers.cmd, level.time);
;1397:
;1398:	// set up for pmove
;1399:	oldEventSequence = client->ps.eventSequence;
ADDRLP4 396
ADDRLP4 4
INDIRP4
CNSTI4 112
ADDP4
INDIRI4
ASGNI4
line 1401
;1400:
;1401:	memset (&pm, 0, sizeof(pm));
ADDRLP4 8
ARGP4
CNSTI4 0
ARGI4
CNSTI4 380
ARGI4
ADDRGP4 memset
CALLP4
pop
line 1403
;1402:
;1403:	if ( ent->flags & FL_FORCE_GESTURE ) {
ADDRFP4 0
INDIRP4
CNSTI4 472
ADDP4
INDIRI4
CNSTI4 32768
BANDI4
CNSTI4 0
EQI4 $634
line 1404
;1404:		ent->flags &= ~FL_FORCE_GESTURE;
ADDRLP4 428
ADDRFP4 0
INDIRP4
CNSTI4 472
ADDP4
ASGNP4
ADDRLP4 428
INDIRP4
ADDRLP4 428
INDIRP4
INDIRI4
CNSTI4 -32769
BANDI4
ASGNI4
line 1405
;1405:		ent->client->pers.cmd.buttons |= BUTTON_GESTURE;
ADDRLP4 432
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1400
ADDP4
ASGNP4
ADDRLP4 432
INDIRP4
ADDRLP4 432
INDIRP4
INDIRI4
CNSTI4 8
BORI4
ASGNI4
line 1406
;1406:	}
LABELV $634
line 1408
;1407:
;1408:	if (ent->client && ent->client->ps.fallingToDeath &&
ADDRLP4 428
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 428
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $636
ADDRLP4 432
ADDRLP4 428
INDIRP4
CNSTI4 1352
ADDP4
INDIRI4
ASGNI4
ADDRLP4 432
INDIRI4
CNSTI4 0
EQI4 $636
ADDRGP4 level+32
INDIRI4
CNSTI4 3000
SUBI4
ADDRLP4 432
INDIRI4
LEI4 $636
line 1410
;1409:		(level.time - FALL_FADE_TIME) > ent->client->ps.fallingToDeath)
;1410:	{ //die!
line 1411
;1411:		player_die(ent, ent, ent, 100000, MOD_FALLING);
ADDRLP4 436
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 436
INDIRP4
ARGP4
ADDRLP4 436
INDIRP4
ARGP4
ADDRLP4 436
INDIRP4
ARGP4
CNSTI4 100000
ARGI4
CNSTI4 34
ARGI4
ADDRGP4 player_die
CALLV
pop
line 1412
;1412:		respawn(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 respawn
CALLV
pop
line 1413
;1413:		ent->client->ps.fallingToDeath = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1352
ADDP4
CNSTI4 0
ASGNI4
line 1415
;1414:
;1415:		G_MuteSound(ent->s.number, CHAN_VOICE); //stop screaming, because you are dead!
ADDRFP4 0
INDIRP4
INDIRI4
ARGI4
CNSTI4 3
ARGI4
ADDRGP4 G_MuteSound
CALLV
pop
line 1416
;1416:	}
LABELV $636
line 1418
;1417:
;1418:	if (ent->client->ps.otherKillerTime > level.time &&
ADDRLP4 436
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 436
INDIRP4
CNSTI4 764
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
LEI4 $639
ADDRLP4 436
INDIRP4
CNSTI4 84
ADDP4
INDIRI4
CNSTI4 1023
EQI4 $639
ADDRLP4 436
INDIRP4
CNSTI4 768
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
GEI4 $639
line 1421
;1419:		ent->client->ps.groundEntityNum != ENTITYNUM_NONE &&
;1420:		ent->client->ps.otherKillerDebounceTime < level.time)
;1421:	{
line 1422
;1422:		ent->client->ps.otherKillerTime = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 764
ADDP4
CNSTI4 0
ASGNI4
line 1423
;1423:		ent->client->ps.otherKiller = ENTITYNUM_NONE;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 760
ADDP4
CNSTI4 1023
ASGNI4
line 1424
;1424:	}
ADDRGP4 $640
JUMPV
LABELV $639
line 1425
;1425:	else if (ent->client->ps.otherKillerTime > level.time &&
ADDRLP4 440
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 440
INDIRP4
CNSTI4 764
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
LEI4 $643
ADDRLP4 440
INDIRP4
CNSTI4 84
ADDP4
INDIRI4
CNSTI4 1023
NEI4 $643
line 1427
;1426:		ent->client->ps.groundEntityNum == ENTITYNUM_NONE)
;1427:	{
line 1428
;1428:		if (ent->client->ps.otherKillerDebounceTime < (level.time + 100))
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 768
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
CNSTI4 100
ADDI4
GEI4 $646
line 1429
;1429:		{
line 1430
;1430:			ent->client->ps.otherKillerDebounceTime = level.time + 100;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 768
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 100
ADDI4
ASGNI4
line 1431
;1431:		}
LABELV $646
line 1432
;1432:	}
LABELV $643
LABELV $640
line 1437
;1433:
;1434://	WP_ForcePowersUpdate( ent, msec, ucmd); //update any active force powers
;1435://	WP_SaberPositionUpdate(ent, ucmd); //check the server-side saber point, do apprioriate server-side actions (effects are cs-only)
;1436:
;1437:	if ((ent->client->pers.cmd.buttons & BUTTON_USE) && ent->client->ps.useDelay < level.time)
ADDRLP4 444
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 444
INDIRP4
CNSTI4 1400
ADDP4
INDIRI4
CNSTI4 32
BANDI4
CNSTI4 0
EQI4 $650
ADDRLP4 444
INDIRP4
CNSTI4 1356
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
GEI4 $650
line 1438
;1438:	{
line 1439
;1439:		TryUse(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 TryUse
CALLV
pop
line 1440
;1440:		ent->client->ps.useDelay = level.time + 100;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1356
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 100
ADDI4
ASGNI4
line 1441
;1441:	}
LABELV $650
line 1443
;1442:
;1443:	pm.ps = &client->ps;
ADDRLP4 8
ADDRLP4 4
INDIRP4
ASGNP4
line 1444
;1444:	pm.cmd = *ucmd;
ADDRLP4 8+4
ADDRLP4 388
INDIRP4
INDIRB
ASGNB 28
line 1445
;1445:	if ( pm.ps->pm_type == PM_DEAD ) {
ADDRLP4 448
CNSTI4 4
ASGNI4
ADDRLP4 8
INDIRP4
ADDRLP4 448
INDIRI4
ADDP4
INDIRI4
ADDRLP4 448
INDIRI4
NEI4 $655
line 1446
;1446:		pm.tracemask = MASK_PLAYERSOLID & ~CONTENTS_BODY;
ADDRLP4 8+32
CNSTI4 17
ASGNI4
line 1447
;1447:	}
ADDRGP4 $656
JUMPV
LABELV $655
line 1448
;1448:	else if ( ent->r.svFlags & SVF_BOT ) {
ADDRFP4 0
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
CNSTI4 8
BANDI4
CNSTI4 0
EQI4 $658
line 1449
;1449:		pm.tracemask = MASK_PLAYERSOLID | CONTENTS_MONSTERCLIP;
ADDRLP4 8+32
CNSTI4 305
ASGNI4
line 1450
;1450:	}
ADDRGP4 $659
JUMPV
LABELV $658
line 1451
;1451:	else {
line 1452
;1452:		pm.tracemask = MASK_PLAYERSOLID;
ADDRLP4 8+32
CNSTI4 273
ASGNI4
line 1453
;1453:	}
LABELV $659
LABELV $656
line 1454
;1454:	pm.trace = trap_Trace;
ADDRLP4 8+240
ADDRGP4 trap_Trace
ASGNP4
line 1455
;1455:	pm.pointcontents = trap_PointContents;
ADDRLP4 8+244
ADDRGP4 trap_PointContents
ASGNP4
line 1456
;1456:	pm.debugLevel = g_debugMove.integer;
ADDRLP4 8+36
ADDRGP4 g_debugMove+12
INDIRI4
ASGNI4
line 1457
;1457:	pm.noFootsteps = ( g_dmflags.integer & DF_NO_FOOTSTEPS ) > 0;
ADDRGP4 g_dmflags+12
INDIRI4
CNSTI4 32
BANDI4
CNSTI4 0
LEI4 $669
ADDRLP4 452
CNSTI4 1
ASGNI4
ADDRGP4 $670
JUMPV
LABELV $669
ADDRLP4 452
CNSTI4 0
ASGNI4
LABELV $670
ADDRLP4 8+40
ADDRLP4 452
INDIRI4
ASGNI4
line 1459
;1458:
;1459:	pm.pmove_fixed = pmove_fixed.integer | client->pers.pmoveFixed;
ADDRLP4 8+232
ADDRGP4 pmove_fixed+12
INDIRI4
ADDRLP4 4
INDIRP4
CNSTI4 1424
ADDP4
INDIRI4
BORI4
ASGNI4
line 1460
;1460:	pm.pmove_msec = pmove_msec.integer;
ADDRLP4 8+236
ADDRGP4 pmove_msec+12
INDIRI4
ASGNI4
line 1462
;1461:
;1462:	pm.animations = bgGlobalAnimations;//NULL;
ADDRLP4 8+224
ADDRGP4 bgGlobalAnimations
ASGNP4
line 1464
;1463:
;1464:	pm.gametype = g_gametype.integer;
ADDRLP4 8+220
ADDRGP4 g_gametype+12
INDIRI4
ASGNI4
line 1466
;1465:
;1466:	VectorCopy( client->ps.origin, client->oldOrigin );
ADDRLP4 4
INDIRP4
CNSTI4 1784
ADDP4
ADDRLP4 4
INDIRP4
CNSTI4 20
ADDP4
INDIRB
ASGNB 12
line 1468
;1467:
;1468:	if (level.intermissionQueued != 0 && g_singlePlayer.integer) {
ADDRLP4 460
CNSTI4 0
ASGNI4
ADDRGP4 level+9004
INDIRI4
ADDRLP4 460
INDIRI4
EQI4 $678
ADDRGP4 g_singlePlayer+12
INDIRI4
ADDRLP4 460
INDIRI4
EQI4 $678
line 1469
;1469:		if ( level.time - level.intermissionQueued >= 1000  ) {
ADDRGP4 level+32
INDIRI4
ADDRGP4 level+9004
INDIRI4
SUBI4
CNSTI4 1000
LTI4 $682
line 1470
;1470:			pm.cmd.buttons = 0;
ADDRLP4 8+4+16
CNSTI4 0
ASGNI4
line 1471
;1471:			pm.cmd.forwardmove = 0;
ADDRLP4 8+4+24
CNSTI1 0
ASGNI1
line 1472
;1472:			pm.cmd.rightmove = 0;
ADDRLP4 8+4+25
CNSTI1 0
ASGNI1
line 1473
;1473:			pm.cmd.upmove = 0;
ADDRLP4 8+4+26
CNSTI1 0
ASGNI1
line 1474
;1474:			if ( level.time - level.intermissionQueued >= 2000 && level.time - level.intermissionQueued <= 2500 ) {
ADDRGP4 level+32
INDIRI4
ADDRGP4 level+9004
INDIRI4
SUBI4
CNSTI4 2000
LTI4 $694
ADDRGP4 level+32
INDIRI4
ADDRGP4 level+9004
INDIRI4
SUBI4
CNSTI4 2500
GTI4 $694
line 1475
;1475:				trap_SendConsoleCommand( EXEC_APPEND, "centerview\n");
CNSTI4 2
ARGI4
ADDRGP4 $700
ARGP4
ADDRGP4 trap_SendConsoleCommand
CALLV
pop
line 1476
;1476:			}
LABELV $694
line 1477
;1477:			ent->client->ps.pm_type = PM_SPINTERMISSION;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 4
ADDP4
CNSTI4 7
ASGNI4
line 1478
;1478:		}
LABELV $682
line 1479
;1479:	}
LABELV $678
line 1481
;1480:
;1481:	for ( i = 0 ; i < MAX_CLIENTS ; i++ )
ADDRLP4 0
CNSTI4 0
ASGNI4
LABELV $701
line 1482
;1482:	{
line 1483
;1483:		if (g_entities[i].inuse && g_entities[i].client)
ADDRLP4 464
CNSTI4 852
ADDRLP4 0
INDIRI4
MULI4
ASGNI4
ADDRLP4 464
INDIRI4
ADDRGP4 g_entities+412
ADDP4
INDIRI4
CNSTI4 0
EQI4 $705
ADDRLP4 464
INDIRI4
ADDRGP4 g_entities+408
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
EQU4 $705
line 1484
;1484:		{
line 1485
;1485:			pm.bgClients[i] = &g_entities[i].client->ps;
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRLP4 8+248
ADDP4
CNSTI4 852
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 g_entities+408
ADDP4
INDIRP4
ASGNP4
line 1486
;1486:		}
LABELV $705
line 1487
;1487:	}
LABELV $702
line 1481
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
INDIRI4
CNSTI4 32
LTI4 $701
line 1489
;1488:
;1489:	if (ent->client->ps.saberLockTime > level.time)
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 524
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
LEI4 $711
line 1490
;1490:	{
line 1491
;1491:		gentity_t *blockOpp = &g_entities[ent->client->ps.saberLockEnemy];
ADDRLP4 464
CNSTI4 852
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 528
ADDP4
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ASGNP4
line 1493
;1492:
;1493:		if (blockOpp && blockOpp->inuse && blockOpp->client)
ADDRLP4 472
CNSTU4 0
ASGNU4
ADDRLP4 464
INDIRP4
CVPU4 4
ADDRLP4 472
INDIRU4
EQU4 $714
ADDRLP4 464
INDIRP4
CNSTI4 412
ADDP4
INDIRI4
CNSTI4 0
EQI4 $714
ADDRLP4 464
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CVPU4 4
ADDRLP4 472
INDIRU4
EQU4 $714
line 1494
;1494:		{
line 1498
;1495:			vec3_t lockDir, lockAng;
;1496:
;1497:			//VectorClear( ent->client->ps.velocity );
;1498:			VectorSubtract( blockOpp->r.currentOrigin, ent->r.currentOrigin, lockDir );
ADDRLP4 504
CNSTI4 368
ASGNI4
ADDRLP4 508
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 476
ADDRLP4 464
INDIRP4
ADDRLP4 504
INDIRI4
ADDP4
INDIRF4
ADDRLP4 508
INDIRP4
ADDRLP4 504
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 512
CNSTI4 372
ASGNI4
ADDRLP4 476+4
ADDRLP4 464
INDIRP4
ADDRLP4 512
INDIRI4
ADDP4
INDIRF4
ADDRLP4 508
INDIRP4
ADDRLP4 512
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 516
CNSTI4 376
ASGNI4
ADDRLP4 476+8
ADDRLP4 464
INDIRP4
ADDRLP4 516
INDIRI4
ADDP4
INDIRF4
ADDRFP4 0
INDIRP4
ADDRLP4 516
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
line 1500
;1499:			//lockAng[YAW] = vectoyaw( defDir );
;1500:			vectoangles(lockDir, lockAng);
ADDRLP4 476
ARGP4
ADDRLP4 488
ARGP4
ADDRGP4 vectoangles
CALLV
pop
line 1501
;1501:			SetClientViewAngle( ent, lockAng );
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 488
ARGP4
ADDRGP4 SetClientViewAngle
CALLV
pop
line 1502
;1502:		}
LABELV $714
line 1504
;1503:
;1504:		if ( ( ent->client->buttons & BUTTON_ATTACK ) && ! ( ent->client->oldbuttons & BUTTON_ATTACK ) )
ADDRLP4 476
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 480
CNSTI4 1
ASGNI4
ADDRLP4 484
CNSTI4 0
ASGNI4
ADDRLP4 476
INDIRP4
CNSTI4 1772
ADDP4
INDIRI4
ADDRLP4 480
INDIRI4
BANDI4
ADDRLP4 484
INDIRI4
EQI4 $718
ADDRLP4 476
INDIRP4
CNSTI4 1776
ADDP4
INDIRI4
ADDRLP4 480
INDIRI4
BANDI4
ADDRLP4 484
INDIRI4
NEI4 $718
line 1505
;1505:		{
line 1506
;1506:			ent->client->ps.saberLockHits++;
ADDRLP4 488
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 536
ADDP4
ASGNP4
ADDRLP4 488
INDIRP4
ADDRLP4 488
INDIRP4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
line 1507
;1507:		}
LABELV $718
line 1508
;1508:		if (ent->client->ps.saberLockHits > 2)
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 536
ADDP4
INDIRI4
CNSTI4 2
LEI4 $712
line 1509
;1509:		{
line 1510
;1510:			if (!ent->client->ps.saberLockAdvance)
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 540
ADDP4
INDIRI4
CNSTI4 0
NEI4 $722
line 1511
;1511:			{
line 1512
;1512:				ent->client->ps.saberLockHits -= 3;
ADDRLP4 488
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 536
ADDP4
ASGNP4
ADDRLP4 488
INDIRP4
ADDRLP4 488
INDIRP4
INDIRI4
CNSTI4 3
SUBI4
ASGNI4
line 1513
;1513:			}
LABELV $722
line 1514
;1514:			ent->client->ps.saberLockAdvance = qtrue;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 540
ADDP4
CNSTI4 1
ASGNI4
line 1515
;1515:		}
line 1516
;1516:	}
ADDRGP4 $712
JUMPV
LABELV $711
line 1518
;1517:	else
;1518:	{
line 1519
;1519:		ent->client->ps.saberLockFrame = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 532
ADDP4
CNSTI4 0
ASGNI4
line 1521
;1520:		//check for taunt
;1521:		if ( (pm.cmd.generic_cmd == GENCMD_ENGAGE_DUEL) && (g_gametype.integer == GT_TOURNAMENT) )
ADDRLP4 8+4+23
INDIRU1
CVUI4 1
CNSTI4 2
NEI4 $724
ADDRGP4 g_gametype+12
INDIRI4
CNSTI4 3
NEI4 $724
line 1522
;1522:		{//already in a duel, make it a taunt command
line 1523
;1523:			pm.cmd.buttons |= BUTTON_GESTURE;
ADDRLP4 8+4+16
ADDRLP4 8+4+16
INDIRI4
CNSTI4 8
BORI4
ASGNI4
line 1524
;1524:		}
LABELV $724
line 1525
;1525:	}
LABELV $712
line 1527
;1526:
;1527:	Pmove (&pm);
ADDRLP4 8
ARGP4
ADDRGP4 Pmove
CALLV
pop
line 1529
;1528:
;1529:	if (pm.checkDuelLoss)
ADDRLP4 8+376
INDIRI4
CNSTI4 0
EQI4 $731
line 1530
;1530:	{
line 1531
;1531:		if (pm.checkDuelLoss > 0 && pm.checkDuelLoss <= MAX_CLIENTS)
ADDRLP4 8+376
INDIRI4
CNSTI4 0
LEI4 $734
ADDRLP4 8+376
INDIRI4
CNSTI4 32
GTI4 $734
line 1532
;1532:		{
line 1533
;1533:			gentity_t *clientLost = &g_entities[pm.checkDuelLoss-1];
ADDRLP4 464
CNSTI4 852
ADDRLP4 8+376
INDIRI4
MULI4
ADDRGP4 g_entities-852
ADDP4
ASGNP4
line 1535
;1534:
;1535:			if (clientLost && clientLost->inuse && clientLost->client && Q_irand(0, 40) > clientLost->health)
ADDRLP4 472
CNSTU4 0
ASGNU4
ADDRLP4 464
INDIRP4
CVPU4 4
ADDRLP4 472
INDIRU4
EQU4 $740
ADDRLP4 476
CNSTI4 0
ASGNI4
ADDRLP4 464
INDIRP4
CNSTI4 412
ADDP4
INDIRI4
ADDRLP4 476
INDIRI4
EQI4 $740
ADDRLP4 464
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CVPU4 4
ADDRLP4 472
INDIRU4
EQU4 $740
ADDRLP4 476
INDIRI4
ARGI4
CNSTI4 40
ARGI4
ADDRLP4 480
ADDRGP4 Q_irand
CALLI4
ASGNI4
ADDRLP4 480
INDIRI4
ADDRLP4 464
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
LEI4 $740
line 1536
;1536:			{
line 1538
;1537:				vec3_t attDir;
;1538:				VectorSubtract(ent->client->ps.origin, clientLost->client->ps.origin, attDir);
ADDRLP4 496
CNSTI4 408
ASGNI4
ADDRLP4 500
ADDRFP4 0
INDIRP4
ADDRLP4 496
INDIRI4
ADDP4
ASGNP4
ADDRLP4 504
CNSTI4 20
ASGNI4
ADDRLP4 508
ADDRLP4 464
INDIRP4
ADDRLP4 496
INDIRI4
ADDP4
ASGNP4
ADDRLP4 484
ADDRLP4 500
INDIRP4
INDIRP4
ADDRLP4 504
INDIRI4
ADDP4
INDIRF4
ADDRLP4 508
INDIRP4
INDIRP4
ADDRLP4 504
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 512
CNSTI4 24
ASGNI4
ADDRLP4 484+4
ADDRLP4 500
INDIRP4
INDIRP4
ADDRLP4 512
INDIRI4
ADDP4
INDIRF4
ADDRLP4 508
INDIRP4
INDIRP4
ADDRLP4 512
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
ADDRLP4 516
CNSTI4 408
ASGNI4
ADDRLP4 520
CNSTI4 28
ASGNI4
ADDRLP4 484+8
ADDRFP4 0
INDIRP4
ADDRLP4 516
INDIRI4
ADDP4
INDIRP4
ADDRLP4 520
INDIRI4
ADDP4
INDIRF4
ADDRLP4 464
INDIRP4
ADDRLP4 516
INDIRI4
ADDP4
INDIRP4
ADDRLP4 520
INDIRI4
ADDP4
INDIRF4
SUBF4
ASGNF4
line 1539
;1539:				VectorNormalize(attDir);
ADDRLP4 484
ARGP4
ADDRGP4 VectorNormalize
CALLF4
pop
line 1541
;1540:
;1541:				VectorClear(clientLost->client->ps.velocity);
ADDRLP4 524
ADDRLP4 464
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 528
CNSTF4 0
ASGNF4
ADDRLP4 524
INDIRP4
CNSTI4 40
ADDP4
ADDRLP4 528
INDIRF4
ASGNF4
ADDRLP4 524
INDIRP4
CNSTI4 36
ADDP4
ADDRLP4 528
INDIRF4
ASGNF4
ADDRLP4 524
INDIRP4
CNSTI4 32
ADDP4
ADDRLP4 528
INDIRF4
ASGNF4
line 1542
;1542:				clientLost->client->ps.forceHandExtend = HANDEXTEND_NONE;
ADDRLP4 464
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1248
ADDP4
CNSTI4 0
ASGNI4
line 1543
;1543:				clientLost->client->ps.forceHandExtendTime = 0;
ADDRLP4 464
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1252
ADDP4
CNSTI4 0
ASGNI4
line 1545
;1544:
;1545:				gGAvoidDismember = 1;
ADDRGP4 gGAvoidDismember
CNSTI4 1
ASGNI4
line 1546
;1546:				G_Damage(clientLost, ent, ent, attDir, clientLost->client->ps.origin, 9999, DAMAGE_NO_PROTECTION, MOD_SABER);
ADDRLP4 464
INDIRP4
ARGP4
ADDRLP4 536
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 536
INDIRP4
ARGP4
ADDRLP4 536
INDIRP4
ARGP4
ADDRLP4 484
ARGP4
ADDRLP4 464
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 20
ADDP4
ARGP4
CNSTI4 9999
ARGI4
CNSTI4 8
ARGI4
CNSTI4 3
ARGI4
ADDRGP4 G_Damage
CALLV
pop
line 1548
;1547:
;1548:				if (clientLost->health < 1)
ADDRLP4 464
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
CNSTI4 1
GEI4 $744
line 1549
;1549:				{
line 1550
;1550:					gGAvoidDismember = 2;
ADDRGP4 gGAvoidDismember
CNSTI4 2
ASGNI4
line 1551
;1551:					G_CheckForDismemberment(clientLost, clientLost->client->ps.origin, 999, (clientLost->client->ps.legsAnim&~ANIM_TOGGLEBIT));
ADDRLP4 464
INDIRP4
ARGP4
ADDRLP4 544
ADDRLP4 464
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 544
INDIRP4
CNSTI4 20
ADDP4
ARGP4
CNSTI4 999
ARGI4
ADDRLP4 544
INDIRP4
CNSTI4 92
ADDP4
INDIRI4
CNSTI4 -2049
BANDI4
ARGI4
ADDRGP4 G_CheckForDismemberment
CALLV
pop
line 1552
;1552:				}
LABELV $744
line 1554
;1553:
;1554:				gGAvoidDismember = 0;
ADDRGP4 gGAvoidDismember
CNSTI4 0
ASGNI4
line 1555
;1555:			}
LABELV $740
line 1556
;1556:		}
LABELV $734
line 1558
;1557:
;1558:		pm.checkDuelLoss = 0;
ADDRLP4 8+376
CNSTI4 0
ASGNI4
line 1559
;1559:	}
LABELV $731
line 1561
;1560:
;1561:	switch(pm.cmd.generic_cmd)
ADDRLP4 464
ADDRLP4 8+4+23
INDIRU1
CVUI4 1
ASGNI4
ADDRLP4 464
INDIRI4
CNSTI4 0
LTI4 $748
ADDRLP4 464
INDIRI4
CNSTI4 20
GTI4 $748
ADDRLP4 464
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 $792
ADDP4
INDIRP4
JUMPV
lit
align 4
LABELV $792
address $748
address $753
address $754
address $758
address $759
address $760
address $761
address $762
address $763
address $764
address $765
address $766
address $767
address $768
address $769
address $772
address $775
address $778
address $783
address $788
address $791
code
line 1562
;1562:	{
line 1564
;1563:	case 0:
;1564:		break;
LABELV $753
line 1566
;1565:	case GENCMD_SABERSWITCH:
;1566:		Cmd_ToggleSaber_f(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 Cmd_ToggleSaber_f
CALLV
pop
line 1567
;1567:		break;
ADDRGP4 $748
JUMPV
LABELV $754
line 1569
;1568:	case GENCMD_ENGAGE_DUEL:
;1569:		if ( g_gametype.integer == GT_TOURNAMENT )
ADDRGP4 g_gametype+12
INDIRI4
CNSTI4 3
NEI4 $755
line 1570
;1570:		{//already in a duel, made it a taunt command
line 1571
;1571:		}
ADDRGP4 $748
JUMPV
LABELV $755
line 1573
;1572:		else
;1573:		{
line 1574
;1574:			Cmd_EngageDuel_f(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 Cmd_EngageDuel_f
CALLV
pop
line 1575
;1575:		}
line 1576
;1576:		break;
ADDRGP4 $748
JUMPV
LABELV $758
line 1578
;1577:	case GENCMD_FORCE_HEAL:
;1578:		ForceHeal(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ForceHeal
CALLV
pop
line 1579
;1579:		break;
ADDRGP4 $748
JUMPV
LABELV $759
line 1581
;1580:	case GENCMD_FORCE_SPEED:
;1581:		ForceSpeed(ent, 0);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 0
ARGI4
ADDRGP4 ForceSpeed
CALLV
pop
line 1582
;1582:		break;
ADDRGP4 $748
JUMPV
LABELV $760
line 1584
;1583:	case GENCMD_FORCE_THROW:
;1584:		ForceThrow(ent, qfalse);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 0
ARGI4
ADDRGP4 ForceThrow
CALLV
pop
line 1585
;1585:		break;
ADDRGP4 $748
JUMPV
LABELV $761
line 1587
;1586:	case GENCMD_FORCE_PULL:
;1587:		ForceThrow(ent, qtrue);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 1
ARGI4
ADDRGP4 ForceThrow
CALLV
pop
line 1588
;1588:		break;
ADDRGP4 $748
JUMPV
LABELV $762
line 1590
;1589:	case GENCMD_FORCE_DISTRACT:
;1590:		ForceTelepathy(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ForceTelepathy
CALLV
pop
line 1591
;1591:		break;
ADDRGP4 $748
JUMPV
LABELV $763
line 1593
;1592:	case GENCMD_FORCE_RAGE:
;1593:		ForceRage(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ForceRage
CALLV
pop
line 1594
;1594:		break;
ADDRGP4 $748
JUMPV
LABELV $764
line 1596
;1595:	case GENCMD_FORCE_PROTECT:
;1596:		ForceProtect(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ForceProtect
CALLV
pop
line 1597
;1597:		break;
ADDRGP4 $748
JUMPV
LABELV $765
line 1599
;1598:	case GENCMD_FORCE_ABSORB:
;1599:		ForceAbsorb(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ForceAbsorb
CALLV
pop
line 1600
;1600:		break;
ADDRGP4 $748
JUMPV
LABELV $766
line 1602
;1601:	case GENCMD_FORCE_HEALOTHER:
;1602:		ForceTeamHeal(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ForceTeamHeal
CALLV
pop
line 1603
;1603:		break;
ADDRGP4 $748
JUMPV
LABELV $767
line 1605
;1604:	case GENCMD_FORCE_FORCEPOWEROTHER:
;1605:		ForceTeamForceReplenish(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ForceTeamForceReplenish
CALLV
pop
line 1606
;1606:		break;
ADDRGP4 $748
JUMPV
LABELV $768
line 1608
;1607:	case GENCMD_FORCE_SEEING:
;1608:		ForceSeeing(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ForceSeeing
CALLV
pop
line 1609
;1609:		break;
ADDRGP4 $748
JUMPV
LABELV $769
line 1611
;1610:	case GENCMD_USE_SEEKER:
;1611:		if ( (ent->client->ps.stats[STAT_HOLDABLE_ITEMS] & (1 << HI_SEEKER)) &&
ADDRLP4 472
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 472
INDIRP4
CNSTI4 224
ADDP4
INDIRI4
CNSTI4 2
BANDI4
CNSTI4 0
EQI4 $748
ADDRLP4 472
INDIRP4
ARGP4
CNSTI4 1
ARGI4
ADDRLP4 476
ADDRGP4 G_ItemUsable
CALLI4
ASGNI4
ADDRLP4 476
INDIRI4
CNSTI4 0
EQI4 $748
line 1613
;1612:			G_ItemUsable(&ent->client->ps, HI_SEEKER) )
;1613:		{
line 1614
;1614:			ItemUse_Seeker(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Seeker
CALLV
pop
line 1615
;1615:			G_AddEvent(ent, EV_USE_ITEM0+HI_SEEKER, 0);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 41
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1616
;1616:			ent->client->ps.stats[STAT_HOLDABLE_ITEMS] &= ~(1 << HI_SEEKER);
ADDRLP4 480
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 224
ADDP4
ASGNP4
ADDRLP4 480
INDIRP4
ADDRLP4 480
INDIRP4
INDIRI4
CNSTI4 -3
BANDI4
ASGNI4
line 1617
;1617:		}
line 1618
;1618:		break;
ADDRGP4 $748
JUMPV
LABELV $772
line 1620
;1619:	case GENCMD_USE_FIELD:
;1620:		if ( (ent->client->ps.stats[STAT_HOLDABLE_ITEMS] & (1 << HI_SHIELD)) &&
ADDRLP4 480
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 480
INDIRP4
CNSTI4 224
ADDP4
INDIRI4
CNSTI4 4
BANDI4
CNSTI4 0
EQI4 $748
ADDRLP4 480
INDIRP4
ARGP4
CNSTI4 2
ARGI4
ADDRLP4 484
ADDRGP4 G_ItemUsable
CALLI4
ASGNI4
ADDRLP4 484
INDIRI4
CNSTI4 0
EQI4 $748
line 1622
;1621:			G_ItemUsable(&ent->client->ps, HI_SHIELD) )
;1622:		{
line 1623
;1623:			ItemUse_Shield(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Shield
CALLV
pop
line 1624
;1624:			G_AddEvent(ent, EV_USE_ITEM0+HI_SHIELD, 0);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 42
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1625
;1625:			ent->client->ps.stats[STAT_HOLDABLE_ITEMS] &= ~(1 << HI_SHIELD);
ADDRLP4 488
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 224
ADDP4
ASGNP4
ADDRLP4 488
INDIRP4
ADDRLP4 488
INDIRP4
INDIRI4
CNSTI4 -5
BANDI4
ASGNI4
line 1626
;1626:		}
line 1627
;1627:		break;
ADDRGP4 $748
JUMPV
LABELV $775
line 1629
;1628:	case GENCMD_USE_BACTA:
;1629:		if ( (ent->client->ps.stats[STAT_HOLDABLE_ITEMS] & (1 << HI_MEDPAC)) &&
ADDRLP4 488
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 488
INDIRP4
CNSTI4 224
ADDP4
INDIRI4
CNSTI4 8
BANDI4
CNSTI4 0
EQI4 $748
ADDRLP4 488
INDIRP4
ARGP4
CNSTI4 3
ARGI4
ADDRLP4 492
ADDRGP4 G_ItemUsable
CALLI4
ASGNI4
ADDRLP4 492
INDIRI4
CNSTI4 0
EQI4 $748
line 1631
;1630:			G_ItemUsable(&ent->client->ps, HI_MEDPAC) )
;1631:		{
line 1632
;1632:			ItemUse_MedPack(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_MedPack
CALLV
pop
line 1633
;1633:			G_AddEvent(ent, EV_USE_ITEM0+HI_MEDPAC, 0);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 43
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1634
;1634:			ent->client->ps.stats[STAT_HOLDABLE_ITEMS] &= ~(1 << HI_MEDPAC);
ADDRLP4 496
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 224
ADDP4
ASGNP4
ADDRLP4 496
INDIRP4
ADDRLP4 496
INDIRP4
INDIRI4
CNSTI4 -9
BANDI4
ASGNI4
line 1635
;1635:		}
line 1636
;1636:		break;
ADDRGP4 $748
JUMPV
LABELV $778
line 1638
;1637:	case GENCMD_USE_ELECTROBINOCULARS:
;1638:		if ( (ent->client->ps.stats[STAT_HOLDABLE_ITEMS] & (1 << HI_BINOCULARS)) &&
ADDRLP4 496
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 496
INDIRP4
CNSTI4 224
ADDP4
INDIRI4
CNSTI4 32
BANDI4
CNSTI4 0
EQI4 $748
ADDRLP4 496
INDIRP4
ARGP4
CNSTI4 5
ARGI4
ADDRLP4 500
ADDRGP4 G_ItemUsable
CALLI4
ASGNI4
ADDRLP4 500
INDIRI4
CNSTI4 0
EQI4 $748
line 1640
;1639:			G_ItemUsable(&ent->client->ps, HI_BINOCULARS) )
;1640:		{
line 1641
;1641:			ItemUse_Binoculars(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Binoculars
CALLV
pop
line 1642
;1642:			if (ent->client->ps.zoomMode == 0)
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1332
ADDP4
INDIRI4
CNSTI4 0
NEI4 $781
line 1643
;1643:			{
line 1644
;1644:				G_AddEvent(ent, EV_USE_ITEM0+HI_BINOCULARS, 1);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 45
ARGI4
CNSTI4 1
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1645
;1645:			}
ADDRGP4 $748
JUMPV
LABELV $781
line 1647
;1646:			else
;1647:			{
line 1648
;1648:				G_AddEvent(ent, EV_USE_ITEM0+HI_BINOCULARS, 2);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 45
ARGI4
CNSTI4 2
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1649
;1649:			}
line 1650
;1650:		}
line 1651
;1651:		break;
ADDRGP4 $748
JUMPV
LABELV $783
line 1653
;1652:	case GENCMD_ZOOM:
;1653:		if ( (ent->client->ps.stats[STAT_HOLDABLE_ITEMS] & (1 << HI_BINOCULARS)) &&
ADDRLP4 504
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 504
INDIRP4
CNSTI4 224
ADDP4
INDIRI4
CNSTI4 32
BANDI4
CNSTI4 0
EQI4 $748
ADDRLP4 504
INDIRP4
ARGP4
CNSTI4 5
ARGI4
ADDRLP4 508
ADDRGP4 G_ItemUsable
CALLI4
ASGNI4
ADDRLP4 508
INDIRI4
CNSTI4 0
EQI4 $748
line 1655
;1654:			G_ItemUsable(&ent->client->ps, HI_BINOCULARS) )
;1655:		{
line 1656
;1656:			ItemUse_Binoculars(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Binoculars
CALLV
pop
line 1657
;1657:			if (ent->client->ps.zoomMode == 0)
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1332
ADDP4
INDIRI4
CNSTI4 0
NEI4 $786
line 1658
;1658:			{
line 1659
;1659:				G_AddEvent(ent, EV_USE_ITEM0+HI_BINOCULARS, 1);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 45
ARGI4
CNSTI4 1
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1660
;1660:			}
ADDRGP4 $748
JUMPV
LABELV $786
line 1662
;1661:			else
;1662:			{
line 1663
;1663:				G_AddEvent(ent, EV_USE_ITEM0+HI_BINOCULARS, 2);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 45
ARGI4
CNSTI4 2
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1664
;1664:			}
line 1665
;1665:		}
line 1666
;1666:		break;
ADDRGP4 $748
JUMPV
LABELV $788
line 1668
;1667:	case GENCMD_USE_SENTRY:
;1668:		if ( (ent->client->ps.stats[STAT_HOLDABLE_ITEMS] & (1 << HI_SENTRY_GUN)) &&
ADDRLP4 512
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 512
INDIRP4
CNSTI4 224
ADDP4
INDIRI4
CNSTI4 64
BANDI4
CNSTI4 0
EQI4 $748
ADDRLP4 512
INDIRP4
ARGP4
CNSTI4 6
ARGI4
ADDRLP4 516
ADDRGP4 G_ItemUsable
CALLI4
ASGNI4
ADDRLP4 516
INDIRI4
CNSTI4 0
EQI4 $748
line 1670
;1669:			G_ItemUsable(&ent->client->ps, HI_SENTRY_GUN) )
;1670:		{
line 1671
;1671:			ItemUse_Sentry(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ItemUse_Sentry
CALLV
pop
line 1672
;1672:			G_AddEvent(ent, EV_USE_ITEM0+HI_SENTRY_GUN, 0);
ADDRFP4 0
INDIRP4
ARGP4
CNSTI4 46
ARGI4
CNSTI4 0
ARGI4
ADDRGP4 G_AddEvent
CALLV
pop
line 1673
;1673:			ent->client->ps.stats[STAT_HOLDABLE_ITEMS] &= ~(1 << HI_SENTRY_GUN);
ADDRLP4 520
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 224
ADDP4
ASGNP4
ADDRLP4 520
INDIRP4
ADDRLP4 520
INDIRP4
INDIRI4
CNSTI4 -65
BANDI4
ASGNI4
line 1674
;1674:		}
line 1675
;1675:		break;
ADDRGP4 $748
JUMPV
LABELV $791
line 1677
;1676:	case GENCMD_SABERATTACKCYCLE:
;1677:		Cmd_SaberAttackCycle_f(ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 Cmd_SaberAttackCycle_f
CALLV
pop
line 1678
;1678:		break;
line 1680
;1679:	default:
;1680:		break;
LABELV $748
line 1684
;1681:	}
;1682:
;1683:	// save results of pmove
;1684:	if ( ent->client->ps.eventSequence != oldEventSequence ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 112
ADDP4
INDIRI4
ADDRLP4 396
INDIRI4
EQI4 $793
line 1685
;1685:		ent->eventTime = level.time;
ADDRFP4 0
INDIRP4
CNSTI4 488
ADDP4
ADDRGP4 level+32
INDIRI4
ASGNI4
line 1686
;1686:	}
LABELV $793
line 1687
;1687:	if (g_smoothClients.integer) {
ADDRGP4 g_smoothClients+12
INDIRI4
CNSTI4 0
EQI4 $796
line 1688
;1688:		BG_PlayerStateToEntityStateExtraPolate( &ent->client->ps, &ent->s, ent->client->ps.commandTime, qtrue );
ADDRLP4 472
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 476
ADDRLP4 472
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 476
INDIRP4
ARGP4
ADDRLP4 472
INDIRP4
ARGP4
ADDRLP4 476
INDIRP4
INDIRI4
ARGI4
CNSTI4 1
ARGI4
ADDRGP4 BG_PlayerStateToEntityStateExtraPolate
CALLV
pop
line 1689
;1689:	}
ADDRGP4 $797
JUMPV
LABELV $796
line 1690
;1690:	else {
line 1691
;1691:		BG_PlayerStateToEntityState( &ent->client->ps, &ent->s, qtrue );
ADDRLP4 472
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 472
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ARGP4
ADDRLP4 472
INDIRP4
ARGP4
CNSTI4 1
ARGI4
ADDRGP4 BG_PlayerStateToEntityState
CALLV
pop
line 1692
;1692:	}
LABELV $797
line 1693
;1693:	SendPendingPredictableEvents( &ent->client->ps );
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ARGP4
ADDRGP4 SendPendingPredictableEvents
CALLV
pop
line 1700
;1694:	
;1695:	/*if ( !( ent->client->ps.eFlags & EF_FIRING ) ) {
;1696:		client->fireHeld = qfalse;		// for grapple
;1697:	}*/
;1698:
;1699:	// use the snapped origin for linking so it matches client predicted versions
;1700:	VectorCopy( ent->s.pos.trBase, ent->r.currentOrigin );
ADDRLP4 472
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 472
INDIRP4
CNSTI4 368
ADDP4
ADDRLP4 472
INDIRP4
CNSTI4 24
ADDP4
INDIRB
ASGNB 12
line 1702
;1701:
;1702:	VectorCopy (pm.mins, ent->r.mins);
ADDRFP4 0
INDIRP4
CNSTI4 316
ADDP4
ADDRLP4 8+188
INDIRB
ASGNB 12
line 1703
;1703:	VectorCopy (pm.maxs, ent->r.maxs);
ADDRFP4 0
INDIRP4
CNSTI4 328
ADDP4
ADDRLP4 8+200
INDIRB
ASGNB 12
line 1705
;1704:
;1705:	ent->waterlevel = pm.waterlevel;
ADDRFP4 0
INDIRP4
CNSTI4 748
ADDP4
ADDRLP4 8+216
INDIRI4
ASGNI4
line 1706
;1706:	ent->watertype = pm.watertype;
ADDRFP4 0
INDIRP4
CNSTI4 744
ADDP4
ADDRLP4 8+212
INDIRI4
ASGNI4
line 1709
;1707:
;1708:	// execute client events
;1709:	ClientEvents( ent, oldEventSequence );
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 396
INDIRI4
ARGI4
ADDRGP4 ClientEvents
CALLV
pop
line 1711
;1710:
;1711:	if ( pm.useEvent )
ADDRLP4 8+184
INDIRI4
CNSTI4 0
EQI4 $803
line 1712
;1712:	{
line 1715
;1713:		//TODO: Use
;1714://		TryUse( ent );
;1715:	}
LABELV $803
line 1718
;1716:
;1717:	// link entity now, after any personal teleporters have been used
;1718:	trap_LinkEntity (ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 trap_LinkEntity
CALLV
pop
line 1719
;1719:	if ( !ent->client->noclip ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1764
ADDP4
INDIRI4
CNSTI4 0
NEI4 $806
line 1720
;1720:		G_TouchTriggers( ent );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 G_TouchTriggers
CALLV
pop
line 1721
;1721:	}
LABELV $806
line 1724
;1722:
;1723:	// NOTE: now copy the exact origin over otherwise clients can be snapped into solid
;1724:	VectorCopy( ent->client->ps.origin, ent->r.currentOrigin );
ADDRLP4 476
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 476
INDIRP4
CNSTI4 368
ADDP4
ADDRLP4 476
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 20
ADDP4
INDIRB
ASGNB 12
line 1730
;1725:
;1726:	//test for solid areas in the AAS file
;1727://	BotTestAAS(ent->r.currentOrigin);
;1728:
;1729:	// touch other objects
;1730:	ClientImpacts( ent, &pm );
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 8
ARGP4
ADDRGP4 ClientImpacts
CALLV
pop
line 1733
;1731:
;1732:	// save results of triggers and client events
;1733:	if (ent->client->ps.eventSequence != oldEventSequence) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 112
ADDP4
INDIRI4
ADDRLP4 396
INDIRI4
EQI4 $808
line 1734
;1734:		ent->eventTime = level.time;
ADDRFP4 0
INDIRP4
CNSTI4 488
ADDP4
ADDRGP4 level+32
INDIRI4
ASGNI4
line 1735
;1735:	}
LABELV $808
line 1738
;1736:
;1737:	// swap and latch button actions
;1738:	client->oldbuttons = client->buttons;
ADDRLP4 4
INDIRP4
CNSTI4 1776
ADDP4
ADDRLP4 4
INDIRP4
CNSTI4 1772
ADDP4
INDIRI4
ASGNI4
line 1739
;1739:	client->buttons = ucmd->buttons;
ADDRLP4 4
INDIRP4
CNSTI4 1772
ADDP4
ADDRLP4 388
INDIRP4
CNSTI4 16
ADDP4
INDIRI4
ASGNI4
line 1740
;1740:	client->latched_buttons |= client->buttons & ~client->oldbuttons;
ADDRLP4 488
ADDRLP4 4
INDIRP4
CNSTI4 1780
ADDP4
ASGNP4
ADDRLP4 488
INDIRP4
ADDRLP4 488
INDIRP4
INDIRI4
ADDRLP4 4
INDIRP4
CNSTI4 1772
ADDP4
INDIRI4
ADDRLP4 4
INDIRP4
CNSTI4 1776
ADDP4
INDIRI4
BCOMI4
BANDI4
BORI4
ASGNI4
line 1743
;1741:
;1742:	// Did we kick someone in our pmove sequence?
;1743:	if (client->ps.forceKickFlip)
ADDRLP4 4
INDIRP4
CNSTI4 1292
ADDP4
INDIRI4
CNSTI4 0
EQI4 $811
line 1744
;1744:	{
line 1745
;1745:		gentity_t *faceKicked = &g_entities[client->ps.forceKickFlip-1];
ADDRLP4 492
CNSTI4 852
ADDRLP4 4
INDIRP4
CNSTI4 1292
ADDP4
INDIRI4
MULI4
ADDRGP4 g_entities-852
ADDP4
ASGNP4
line 1747
;1746:
;1747:		if (faceKicked && faceKicked->client && (!OnSameTeam(ent, faceKicked) || g_friendlyFire.integer) &&
ADDRLP4 500
CNSTU4 0
ASGNU4
ADDRLP4 492
INDIRP4
CVPU4 4
ADDRLP4 500
INDIRU4
EQU4 $814
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CVPU4 4
ADDRLP4 500
INDIRU4
EQU4 $814
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 492
INDIRP4
ARGP4
ADDRLP4 504
ADDRGP4 OnSameTeam
CALLI4
ASGNI4
ADDRLP4 508
CNSTI4 0
ASGNI4
ADDRLP4 504
INDIRI4
ADDRLP4 508
INDIRI4
EQI4 $817
ADDRGP4 g_friendlyFire+12
INDIRI4
ADDRLP4 508
INDIRI4
EQI4 $814
LABELV $817
ADDRLP4 512
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 512
INDIRP4
CNSTI4 1304
ADDP4
INDIRI4
CNSTI4 0
EQI4 $818
ADDRLP4 512
INDIRP4
CNSTI4 1296
ADDP4
INDIRI4
ADDRFP4 0
INDIRP4
INDIRI4
NEI4 $814
LABELV $818
ADDRLP4 516
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 516
INDIRP4
CNSTI4 1304
ADDP4
INDIRI4
CNSTI4 0
EQI4 $819
ADDRLP4 516
INDIRP4
CNSTI4 1296
ADDP4
INDIRI4
ADDRLP4 492
INDIRP4
INDIRI4
NEI4 $814
LABELV $819
line 1750
;1748:			(!faceKicked->client->ps.duelInProgress || faceKicked->client->ps.duelIndex == ent->s.number) &&
;1749:			(!ent->client->ps.duelInProgress || ent->client->ps.duelIndex == faceKicked->s.number))
;1750:		{
line 1751
;1751:			if ( faceKicked && faceKicked->client && faceKicked->health && faceKicked->takedamage )
ADDRLP4 524
CNSTU4 0
ASGNU4
ADDRLP4 492
INDIRP4
CVPU4 4
ADDRLP4 524
INDIRU4
EQU4 $820
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CVPU4 4
ADDRLP4 524
INDIRU4
EQU4 $820
ADDRLP4 528
CNSTI4 0
ASGNI4
ADDRLP4 492
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ADDRLP4 528
INDIRI4
EQI4 $820
ADDRLP4 492
INDIRP4
CNSTI4 680
ADDP4
INDIRI4
ADDRLP4 528
INDIRI4
EQI4 $820
line 1752
;1752:			{//push them away and do pain
line 1754
;1753:				vec3_t oppDir;
;1754:				int strength = (int)VectorNormalize2( client->ps.velocity, oppDir );
ADDRLP4 4
INDIRP4
CNSTI4 32
ADDP4
ARGP4
ADDRLP4 536
ARGP4
ADDRLP4 548
ADDRGP4 VectorNormalize2
CALLF4
ASGNF4
ADDRLP4 532
ADDRLP4 548
INDIRF4
CVFI4 4
ASGNI4
line 1756
;1755:
;1756:				strength *= 0.05;
ADDRLP4 532
CNSTF4 1028443341
ADDRLP4 532
INDIRI4
CVIF4 4
MULF4
CVFI4 4
ASGNI4
line 1758
;1757:
;1758:				VectorScale( oppDir, -1, oppDir );
ADDRLP4 552
CNSTF4 3212836864
ASGNF4
ADDRLP4 536
ADDRLP4 552
INDIRF4
ADDRLP4 536
INDIRF4
MULF4
ASGNF4
ADDRLP4 536+4
ADDRLP4 552
INDIRF4
ADDRLP4 536+4
INDIRF4
MULF4
ASGNF4
ADDRLP4 536+8
CNSTF4 3212836864
ADDRLP4 536+8
INDIRF4
MULF4
ASGNF4
line 1760
;1759:
;1760:				G_Damage( faceKicked, ent, ent, oppDir, client->ps.origin, strength, DAMAGE_NO_ARMOR, MOD_MELEE );
ADDRLP4 492
INDIRP4
ARGP4
ADDRLP4 556
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 556
INDIRP4
ARGP4
ADDRLP4 556
INDIRP4
ARGP4
ADDRLP4 536
ARGP4
ADDRLP4 4
INDIRP4
CNSTI4 20
ADDP4
ARGP4
ADDRLP4 532
INDIRI4
ARGI4
ADDRLP4 560
CNSTI4 2
ASGNI4
ADDRLP4 560
INDIRI4
ARGI4
ADDRLP4 560
INDIRI4
ARGI4
ADDRGP4 G_Damage
CALLV
pop
line 1762
;1761:
;1762:				ent->client->ps.eFlags &= ~EF_INVULNERABLE;
ADDRLP4 564
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 108
ADDP4
ASGNP4
ADDRLP4 564
INDIRP4
ADDRLP4 564
INDIRP4
INDIRI4
CNSTI4 -67108865
BANDI4
ASGNI4
line 1763
;1763:				ent->client->invulnerableTimer = 0;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1752
ADDP4
CNSTI4 0
ASGNI4
line 1765
;1764:
;1765:				if ( faceKicked->client->ps.weapon != WP_SABER ||
ADDRLP4 568
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 568
INDIRP4
CNSTI4 148
ADDP4
INDIRI4
CNSTI4 2
NEI4 $829
ADDRLP4 568
INDIRP4
CNSTI4 1228
ADDP4
INDIRI4
CNSTI4 3
LTI4 $829
ADDRLP4 568
INDIRP4
CNSTI4 512
ADDP4
INDIRI4
ARGI4
ADDRLP4 572
ADDRGP4 BG_SaberInAttack
CALLI4
ASGNI4
ADDRLP4 572
INDIRI4
CNSTI4 0
NEI4 $826
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 512
ADDP4
INDIRI4
ARGI4
ADDRLP4 576
ADDRGP4 PM_SaberInStart
CALLI4
ASGNI4
ADDRLP4 576
INDIRI4
CNSTI4 0
NEI4 $826
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 512
ADDP4
INDIRI4
ARGI4
ADDRLP4 580
ADDRGP4 PM_SaberInReturn
CALLI4
ASGNI4
ADDRLP4 580
INDIRI4
CNSTI4 0
NEI4 $826
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 512
ADDP4
INDIRI4
ARGI4
ADDRLP4 584
ADDRGP4 PM_SaberInTransition
CALLI4
ASGNI4
ADDRLP4 584
INDIRI4
CNSTI4 0
NEI4 $826
LABELV $829
line 1768
;1766:					 faceKicked->client->ps.fd.saberAnimLevel < FORCE_LEVEL_3 ||
;1767:					 (!BG_SaberInAttack(faceKicked->client->ps.saberMove) && !PM_SaberInStart(faceKicked->client->ps.saberMove) && !PM_SaberInReturn(faceKicked->client->ps.saberMove) && !PM_SaberInTransition(faceKicked->client->ps.saberMove)) )
;1768:				{
line 1769
;1769:					if (faceKicked->health > 0 &&
ADDRLP4 592
CNSTI4 0
ASGNI4
ADDRLP4 492
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ADDRLP4 592
INDIRI4
LEI4 $830
ADDRLP4 596
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 596
INDIRP4
CNSTI4 216
ADDP4
INDIRI4
ADDRLP4 592
INDIRI4
LEI4 $830
ADDRLP4 596
INDIRP4
CNSTI4 1248
ADDP4
INDIRI4
CNSTI4 8
EQI4 $830
line 1772
;1770:						faceKicked->client->ps.stats[STAT_HEALTH] > 0 &&
;1771:						faceKicked->client->ps.forceHandExtend != HANDEXTEND_KNOCKDOWN)
;1772:					{
line 1773
;1773:						if (Q_irand(1, 10) <= 3)
CNSTI4 1
ARGI4
CNSTI4 10
ARGI4
ADDRLP4 600
ADDRGP4 Q_irand
CALLI4
ASGNI4
ADDRLP4 600
INDIRI4
CNSTI4 3
GTI4 $832
line 1774
;1774:						{ //only actually knock over sometimes, but always do velocity hit
line 1775
;1775:							faceKicked->client->ps.forceHandExtend = HANDEXTEND_KNOCKDOWN;
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1248
ADDP4
CNSTI4 8
ASGNI4
line 1776
;1776:							faceKicked->client->ps.forceHandExtendTime = level.time + 1100;
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1252
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 1100
ADDI4
ASGNI4
line 1777
;1777:							faceKicked->client->ps.forceDodgeAnim = 0; //this toggles between 1 and 0, when it's 1 we should play the get up anim
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1260
ADDP4
CNSTI4 0
ASGNI4
line 1778
;1778:						}
LABELV $832
line 1780
;1779:
;1780:						faceKicked->client->ps.otherKiller = ent->s.number;
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 760
ADDP4
ADDRFP4 0
INDIRP4
INDIRI4
ASGNI4
line 1781
;1781:						faceKicked->client->ps.otherKillerTime = level.time + 5000;
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 764
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 5000
ADDI4
ASGNI4
line 1782
;1782:						faceKicked->client->ps.otherKillerDebounceTime = level.time + 100;
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 768
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 100
ADDI4
ASGNI4
line 1784
;1783:
;1784:						faceKicked->client->ps.velocity[0] = oppDir[0]*(strength*40);
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 32
ADDP4
ADDRLP4 536
INDIRF4
CNSTI4 40
ADDRLP4 532
INDIRI4
MULI4
CVIF4 4
MULF4
ASGNF4
line 1785
;1785:						faceKicked->client->ps.velocity[1] = oppDir[1]*(strength*40);
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 36
ADDP4
ADDRLP4 536+4
INDIRF4
CNSTI4 40
ADDRLP4 532
INDIRI4
MULI4
CVIF4 4
MULF4
ASGNF4
line 1786
;1786:						faceKicked->client->ps.velocity[2] = 200;
ADDRLP4 492
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 40
ADDP4
CNSTF4 1128792064
ASGNF4
line 1787
;1787:					}
LABELV $830
line 1788
;1788:				}
LABELV $826
line 1790
;1789:
;1790:				G_Sound( faceKicked, CHAN_AUTO, G_SoundIndex( va("sound/weapons/melee/punch%d", Q_irand(1, 4)) ) );
CNSTI4 1
ARGI4
CNSTI4 4
ARGI4
ADDRLP4 588
ADDRGP4 Q_irand
CALLI4
ASGNI4
ADDRGP4 $838
ARGP4
ADDRLP4 588
INDIRI4
ARGI4
ADDRLP4 592
ADDRGP4 va
CALLP4
ASGNP4
ADDRLP4 592
INDIRP4
ARGP4
ADDRLP4 596
ADDRGP4 G_SoundIndex
CALLI4
ASGNI4
ADDRLP4 492
INDIRP4
ARGP4
CNSTI4 0
ARGI4
ADDRLP4 596
INDIRI4
ARGI4
ADDRGP4 G_Sound
CALLV
pop
line 1791
;1791:			}
LABELV $820
line 1792
;1792:		}
LABELV $814
line 1794
;1793:
;1794:		client->ps.forceKickFlip = 0;
ADDRLP4 4
INDIRP4
CNSTI4 1292
ADDP4
CNSTI4 0
ASGNI4
line 1795
;1795:	}
LABELV $811
line 1798
;1796:
;1797:	// check for respawning
;1798:	if ( client->ps.stats[STAT_HEALTH] <= 0 ) {
ADDRLP4 4
INDIRP4
CNSTI4 216
ADDP4
INDIRI4
CNSTI4 0
GTI4 $839
line 1800
;1799:		// wait for the attack button to be pressed
;1800:		if ( level.time > client->respawnTime && !gDoSlowMoDuel ) {
ADDRGP4 level+32
INDIRI4
ADDRLP4 4
INDIRP4
CNSTI4 1860
ADDP4
INDIRI4
LEI4 $841
ADDRGP4 gDoSlowMoDuel
INDIRI4
CNSTI4 0
NEI4 $841
line 1802
;1801:			// forcerespawn is to prevent users from waiting out powerups
;1802:			if ( g_forcerespawn.integer > 0 && 
ADDRGP4 g_forcerespawn+12
INDIRI4
CNSTI4 0
LEI4 $844
ADDRGP4 level+32
INDIRI4
ADDRLP4 4
INDIRP4
CNSTI4 1860
ADDP4
INDIRI4
SUBI4
CNSTI4 1000
ADDRGP4 g_forcerespawn+12
INDIRI4
MULI4
LEI4 $844
line 1803
;1803:				( level.time - client->respawnTime ) > g_forcerespawn.integer * 1000 ) {
line 1804
;1804:				respawn( ent );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 respawn
CALLV
pop
line 1805
;1805:				return;
ADDRGP4 $482
JUMPV
LABELV $844
line 1809
;1806:			}
;1807:		
;1808:			// pressing attack or use is the normal respawn method
;1809:			if ( ucmd->buttons & ( BUTTON_ATTACK | BUTTON_USE_HOLDABLE ) ) {
ADDRLP4 388
INDIRP4
CNSTI4 16
ADDP4
INDIRI4
CNSTI4 5
BANDI4
CNSTI4 0
EQI4 $482
line 1810
;1810:				respawn( ent );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 respawn
CALLV
pop
line 1811
;1811:			}
line 1812
;1812:		}
ADDRGP4 $482
JUMPV
LABELV $841
line 1813
;1813:		else if (gDoSlowMoDuel)
ADDRGP4 gDoSlowMoDuel
INDIRI4
CNSTI4 0
EQI4 $482
line 1814
;1814:		{
line 1815
;1815:			client->respawnTime = level.time + 1000;
ADDRLP4 4
INDIRP4
CNSTI4 1860
ADDP4
ADDRGP4 level+32
INDIRI4
CNSTI4 1000
ADDI4
ASGNI4
line 1816
;1816:		}
line 1817
;1817:		return;
ADDRGP4 $482
JUMPV
LABELV $839
line 1821
;1818:	}
;1819:
;1820:	// perform once-a-second actions
;1821:	ClientTimerActions( ent, msec );
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 392
INDIRI4
ARGI4
ADDRGP4 ClientTimerActions
CALLV
pop
line 1823
;1822:
;1823:	G_UpdateClientBroadcasts ( ent );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 G_UpdateClientBroadcasts
CALLV
pop
line 1824
;1824:}
LABELV $482
endproc ClientThink_real 604 32
export G_CheckClientTimeouts
proc G_CheckClientTimeouts 0 8
line 1834
;1825:
;1826:/*
;1827:==================
;1828:G_CheckClientTimeouts
;1829:
;1830:Checks whether a client has exceded any timeouts and act accordingly
;1831:==================
;1832:*/
;1833:void G_CheckClientTimeouts ( gentity_t *ent )
;1834:{
line 1836
;1835:	// Only timeout supported right now is the timeout to spectator mode
;1836:	if ( !g_timeouttospec.integer )
ADDRGP4 g_timeouttospec+12
INDIRI4
CNSTI4 0
NEI4 $855
line 1837
;1837:	{
line 1838
;1838:		return;
ADDRGP4 $854
JUMPV
LABELV $855
line 1842
;1839:	}
;1840:
;1841:	// Already a spectator, no need to boot them to spectator
;1842:	if ( ent->client->sess.sessionTeam == TEAM_SPECTATOR )
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1636
ADDP4
INDIRI4
CNSTI4 3
NEI4 $858
line 1843
;1843:	{
line 1844
;1844:		return;
ADDRGP4 $854
JUMPV
LABELV $858
line 1849
;1845:	}
;1846:
;1847:	// See how long its been since a command was received by the client and if its 
;1848:	// longer than the timeout to spectator then force this client into spectator mode
;1849:	if ( level.time - ent->client->pers.cmd.serverTime > g_timeouttospec.integer * 1000 )
ADDRGP4 level+32
INDIRI4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1384
ADDP4
INDIRI4
SUBI4
CNSTI4 1000
ADDRGP4 g_timeouttospec+12
INDIRI4
MULI4
LEI4 $860
line 1850
;1850:	{
line 1851
;1851:		SetTeam ( ent, "spectator" );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 $563
ARGP4
ADDRGP4 SetTeam
CALLV
pop
line 1852
;1852:	}
LABELV $860
line 1853
;1853:}
LABELV $854
endproc G_CheckClientTimeouts 0 8
export ClientThink
proc ClientThink 8 8
line 1862
;1854:
;1855:/*
;1856:==================
;1857:ClientThink
;1858:
;1859:A new command has arrived from the client
;1860:==================
;1861:*/
;1862:void ClientThink( int clientNum ) {
line 1865
;1863:	gentity_t *ent;
;1864:
;1865:	ent = g_entities + clientNum;
ADDRLP4 0
CNSTI4 852
ADDRFP4 0
INDIRI4
MULI4
ADDRGP4 g_entities
ADDP4
ASGNP4
line 1866
;1866:	trap_GetUsercmd( clientNum, &ent->client->pers.cmd );
ADDRFP4 0
INDIRI4
ARGI4
ADDRLP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1384
ADDP4
ARGP4
ADDRGP4 trap_GetUsercmd
CALLV
pop
line 1870
;1867:
;1868:	// mark the time we got info, so we can display the
;1869:	// phone jack if they don't get any for a while
;1870:	ent->client->lastCmdTime = level.time;
ADDRLP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1768
ADDP4
ADDRGP4 level+32
INDIRI4
ASGNI4
line 1872
;1871:
;1872:	if ( !(ent->r.svFlags & SVF_BOT) && !g_synchronousClients.integer ) {
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRLP4 0
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
CNSTI4 8
BANDI4
ADDRLP4 4
INDIRI4
NEI4 $866
ADDRGP4 g_synchronousClients+12
INDIRI4
ADDRLP4 4
INDIRI4
NEI4 $866
line 1873
;1873:		ClientThink_real( ent );
ADDRLP4 0
INDIRP4
ARGP4
ADDRGP4 ClientThink_real
CALLV
pop
line 1874
;1874:	}
LABELV $866
line 1875
;1875:}
LABELV $864
endproc ClientThink 8 8
export G_RunClient
proc G_RunClient 4 4
line 1878
;1876:
;1877:
;1878:void G_RunClient( gentity_t *ent ) {
line 1879
;1879:	if ( !(ent->r.svFlags & SVF_BOT) && !g_synchronousClients.integer ) {
ADDRLP4 0
CNSTI4 0
ASGNI4
ADDRFP4 0
INDIRP4
CNSTI4 304
ADDP4
INDIRI4
CNSTI4 8
BANDI4
ADDRLP4 0
INDIRI4
NEI4 $870
ADDRGP4 g_synchronousClients+12
INDIRI4
ADDRLP4 0
INDIRI4
NEI4 $870
line 1880
;1880:		return;
ADDRGP4 $869
JUMPV
LABELV $870
line 1882
;1881:	}
;1882:	ent->client->pers.cmd.serverTime = level.time;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1384
ADDP4
ADDRGP4 level+32
INDIRI4
ASGNI4
line 1883
;1883:	ClientThink_real( ent );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 ClientThink_real
CALLV
pop
line 1884
;1884:}
LABELV $869
endproc G_RunClient 4 4
export SpectatorClientEndFrame
proc SpectatorClientEndFrame 24 8
line 1893
;1885:
;1886:
;1887:/*
;1888:==================
;1889:SpectatorClientEndFrame
;1890:
;1891:==================
;1892:*/
;1893:void SpectatorClientEndFrame( gentity_t *ent ) {
line 1897
;1894:	gclient_t	*cl;
;1895:
;1896:	// if we are doing a chase cam or a remote view, grab the latest info
;1897:	if ( ent->client->sess.spectatorState == SPECTATOR_FOLLOW ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1644
ADDP4
INDIRI4
CNSTI4 2
NEI4 $875
line 1900
;1898:		int		clientNum, flags;
;1899:
;1900:		clientNum = ent->client->sess.spectatorClient;
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1648
ADDP4
INDIRI4
ASGNI4
line 1903
;1901:
;1902:		// team follow1 and team follow2 go to whatever clients are playing
;1903:		if ( clientNum == -1 ) {
ADDRLP4 4
INDIRI4
CNSTI4 -1
NEI4 $877
line 1904
;1904:			clientNum = level.follow1;
ADDRLP4 4
ADDRGP4 level+212
INDIRI4
ASGNI4
line 1905
;1905:		} else if ( clientNum == -2 ) {
ADDRGP4 $878
JUMPV
LABELV $877
ADDRLP4 4
INDIRI4
CNSTI4 -2
NEI4 $880
line 1906
;1906:			clientNum = level.follow2;
ADDRLP4 4
ADDRGP4 level+216
INDIRI4
ASGNI4
line 1907
;1907:		}
LABELV $880
LABELV $878
line 1908
;1908:		if ( clientNum >= 0 ) {
ADDRLP4 4
INDIRI4
CNSTI4 0
LTI4 $883
line 1909
;1909:			cl = &level.clients[ clientNum ];
ADDRLP4 0
CNSTI4 3024
ADDRLP4 4
INDIRI4
MULI4
ADDRGP4 level
INDIRP4
ADDP4
ASGNP4
line 1910
;1910:			if ( cl->pers.connected == CON_CONNECTED && cl->sess.sessionTeam != TEAM_SPECTATOR ) {
ADDRLP4 12
ADDRLP4 0
INDIRP4
ASGNP4
ADDRLP4 12
INDIRP4
CNSTI4 1380
ADDP4
INDIRI4
CNSTI4 2
NEI4 $885
ADDRLP4 12
INDIRP4
CNSTI4 1636
ADDP4
INDIRI4
CNSTI4 3
EQI4 $885
line 1911
;1911:				flags = (cl->ps.eFlags & ~(EF_VOTED | EF_TEAMVOTED)) | (ent->client->ps.eFlags & (EF_VOTED | EF_TEAMVOTED));
ADDRLP4 16
CNSTI4 108
ASGNI4
ADDRLP4 8
ADDRLP4 0
INDIRP4
ADDRLP4 16
INDIRI4
ADDP4
INDIRI4
CNSTI4 -540673
BANDI4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ADDRLP4 16
INDIRI4
ADDP4
INDIRI4
CNSTI4 540672
BANDI4
BORI4
ASGNI4
line 1912
;1912:				ent->client->ps = cl->ps;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ADDRLP4 0
INDIRP4
INDIRB
ASGNB 1380
line 1913
;1913:				ent->client->ps.pm_flags |= PMF_FOLLOW;
ADDRLP4 20
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 12
ADDP4
ASGNP4
ADDRLP4 20
INDIRP4
ADDRLP4 20
INDIRP4
INDIRI4
CNSTI4 4096
BORI4
ASGNI4
line 1914
;1914:				ent->client->ps.eFlags = flags;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 108
ADDP4
ADDRLP4 8
INDIRI4
ASGNI4
line 1915
;1915:				return;
ADDRGP4 $874
JUMPV
LABELV $885
line 1916
;1916:			} else {
line 1918
;1917:				// drop them to free spectators unless they are dedicated camera followers
;1918:				if ( ent->client->sess.spectatorClient >= 0 ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1648
ADDP4
INDIRI4
CNSTI4 0
LTI4 $887
line 1919
;1919:					ent->client->sess.spectatorState = SPECTATOR_FREE;
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1644
ADDP4
CNSTI4 1
ASGNI4
line 1920
;1920:					ClientBegin( ent->client - level.clients, qtrue );
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CVPU4 4
ADDRGP4 level
INDIRP4
CVPU4 4
SUBU4
CVUI4 4
CNSTI4 3024
DIVI4
ARGI4
CNSTI4 1
ARGI4
ADDRGP4 ClientBegin
CALLV
pop
line 1921
;1921:				}
LABELV $887
line 1922
;1922:			}
line 1923
;1923:		}
LABELV $883
line 1924
;1924:	}
LABELV $875
line 1926
;1925:
;1926:	if ( ent->client->sess.spectatorState == SPECTATOR_SCOREBOARD ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1644
ADDP4
INDIRI4
CNSTI4 3
NEI4 $889
line 1927
;1927:		ent->client->ps.pm_flags |= PMF_SCOREBOARD;
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 12
ADDP4
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRI4
CNSTI4 8192
BORI4
ASGNI4
line 1928
;1928:	} else {
ADDRGP4 $890
JUMPV
LABELV $889
line 1929
;1929:		ent->client->ps.pm_flags &= ~PMF_SCOREBOARD;
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 12
ADDP4
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRI4
CNSTI4 -8193
BANDI4
ASGNI4
line 1930
;1930:	}
LABELV $890
line 1931
;1931:}
LABELV $874
endproc SpectatorClientEndFrame 24 8
export ClientEndFrame
proc ClientEndFrame 20 16
line 1942
;1932:
;1933:/*
;1934:==============
;1935:ClientEndFrame
;1936:
;1937:Called at the end of each server frame for each connected client
;1938:A fast client will have multiple ClientThink for each ClientEdFrame,
;1939:while a slow client may have multiple ClientEndFrame between ClientThink.
;1940:==============
;1941:*/
;1942:void ClientEndFrame( gentity_t *ent ) {
line 1946
;1943:	int			i;
;1944:	clientPersistant_t	*pers;
;1945:
;1946:	if ( ent->client->sess.sessionTeam == TEAM_SPECTATOR ) {
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1636
ADDP4
INDIRI4
CNSTI4 3
NEI4 $892
line 1947
;1947:		SpectatorClientEndFrame( ent );
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 SpectatorClientEndFrame
CALLV
pop
line 1948
;1948:		return;
ADDRGP4 $891
JUMPV
LABELV $892
line 1951
;1949:	}
;1950:
;1951:	pers = &ent->client->pers;
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1380
ADDP4
ASGNP4
line 1954
;1952:
;1953:	// turn off any expired powerups
;1954:	for ( i = 0 ; i < MAX_POWERUPS ; i++ ) {
ADDRLP4 0
CNSTI4 0
ASGNI4
LABELV $894
line 1955
;1955:		if ( ent->client->ps.powerups[ i ] < level.time ) {
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 344
ADDP4
ADDP4
INDIRI4
ADDRGP4 level+32
INDIRI4
GEI4 $898
line 1956
;1956:			ent->client->ps.powerups[ i ] = 0;
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 344
ADDP4
ADDP4
CNSTI4 0
ASGNI4
line 1957
;1957:		}
LABELV $898
line 1958
;1958:	}
LABELV $895
line 1954
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
INDIRI4
CNSTI4 16
LTI4 $894
line 1972
;1959:
;1960:	// save network bandwidth
;1961:#if 0
;1962:	if ( !g_synchronousClients->integer && (ent->client->ps.pm_type == PM_NORMAL || ent->client->ps.pm_type == PM_FLOAT) ) {
;1963:		// FIXME: this must change eventually for non-sync demo recording
;1964:		VectorClear( ent->client->ps.viewangles );
;1965:	}
;1966:#endif
;1967:
;1968:	//
;1969:	// If the end of unit layout is displayed, don't give
;1970:	// the player any normal movement attributes
;1971:	//
;1972:	if ( level.intermissiontime ) {
ADDRGP4 level+9008
INDIRI4
CNSTI4 0
EQI4 $901
line 1973
;1973:		return;
ADDRGP4 $891
JUMPV
LABELV $901
line 1977
;1974:	}
;1975:
;1976:	// burn from lava, etc
;1977:	P_WorldEffects (ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 P_WorldEffects
CALLV
pop
line 1980
;1978:
;1979:	// apply all the damage taken this frame
;1980:	P_DamageFeedback (ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 P_DamageFeedback
CALLV
pop
line 1983
;1981:
;1982:	// add the EF_CONNECTION flag if we haven't gotten commands recently
;1983:	if ( level.time - ent->client->lastCmdTime > 1000 ) {
ADDRGP4 level+32
INDIRI4
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 1768
ADDP4
INDIRI4
SUBI4
CNSTI4 1000
LEI4 $904
line 1984
;1984:		ent->s.eFlags |= EF_CONNECTION;
ADDRLP4 8
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
ASGNP4
ADDRLP4 8
INDIRP4
ADDRLP4 8
INDIRP4
INDIRI4
CNSTI4 8192
BORI4
ASGNI4
line 1985
;1985:	} else {
ADDRGP4 $905
JUMPV
LABELV $904
line 1986
;1986:		ent->s.eFlags &= ~EF_CONNECTION;
ADDRLP4 8
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
ASGNP4
ADDRLP4 8
INDIRP4
ADDRLP4 8
INDIRP4
INDIRI4
CNSTI4 -8193
BANDI4
ASGNI4
line 1987
;1987:	}
LABELV $905
line 1989
;1988:
;1989:	ent->client->ps.stats[STAT_HEALTH] = ent->health;	// FIXME: get rid of ent->health...
ADDRLP4 8
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 8
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
CNSTI4 216
ADDP4
ADDRLP4 8
INDIRP4
CNSTI4 676
ADDP4
INDIRI4
ASGNI4
line 1991
;1990:
;1991:	G_SetClientSound (ent);
ADDRFP4 0
INDIRP4
ARGP4
ADDRGP4 G_SetClientSound
CALLV
pop
line 1994
;1992:
;1993:	// set the latest infor
;1994:	if (g_smoothClients.integer) {
ADDRGP4 g_smoothClients+12
INDIRI4
CNSTI4 0
EQI4 $907
line 1995
;1995:		BG_PlayerStateToEntityStateExtraPolate( &ent->client->ps, &ent->s, ent->client->ps.commandTime, qtrue );
ADDRLP4 12
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 16
ADDRLP4 12
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ASGNP4
ADDRLP4 16
INDIRP4
ARGP4
ADDRLP4 12
INDIRP4
ARGP4
ADDRLP4 16
INDIRP4
INDIRI4
ARGI4
CNSTI4 1
ARGI4
ADDRGP4 BG_PlayerStateToEntityStateExtraPolate
CALLV
pop
line 1996
;1996:	}
ADDRGP4 $908
JUMPV
LABELV $907
line 1997
;1997:	else {
line 1998
;1998:		BG_PlayerStateToEntityState( &ent->client->ps, &ent->s, qtrue );
ADDRLP4 12
ADDRFP4 0
INDIRP4
ASGNP4
ADDRLP4 12
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ARGP4
ADDRLP4 12
INDIRP4
ARGP4
CNSTI4 1
ARGI4
ADDRGP4 BG_PlayerStateToEntityState
CALLV
pop
line 1999
;1999:	}
LABELV $908
line 2000
;2000:	SendPendingPredictableEvents( &ent->client->ps );
ADDRFP4 0
INDIRP4
CNSTI4 408
ADDP4
INDIRP4
ARGP4
ADDRGP4 SendPendingPredictableEvents
CALLV
pop
line 2005
;2001:
;2002:	// set the bit for the reachability area the client is currently in
;2003://	i = trap_AAS_PointReachabilityAreaIndex( ent->client->ps.origin );
;2004://	ent->client->areabits[i >> 3] |= 1 << (i & 7);
;2005:}
LABELV $891
endproc ClientEndFrame 20 16
import saberOnSound
import saberOffSound
import uwRename
import G_ApplyKnockback
import PM_SaberInReturn
import PM_SaberInStart
import PM_SaberInTransition
import trap_ROFF_Purge_Ent
import trap_ROFF_Play
import trap_ROFF_Cache
import trap_ROFF_UpdateEntities
import trap_ROFF_Clean
import trap_SP_GetStringTextString
import trap_SP_Register
import trap_SP_RegisterServer
import trap_SnapVector
import trap_GeneticParentsAndChildSelection
import trap_BotResetWeaponState
import trap_BotFreeWeaponState
import trap_BotAllocWeaponState
import trap_BotLoadWeaponWeights
import trap_BotGetWeaponInfo
import trap_BotChooseBestFightWeapon
import trap_BotAddAvoidSpot
import trap_BotInitMoveState
import trap_BotFreeMoveState
import trap_BotAllocMoveState
import trap_BotPredictVisiblePosition
import trap_BotMovementViewTarget
import trap_BotReachabilityArea
import trap_BotResetLastAvoidReach
import trap_BotResetAvoidReach
import trap_BotMoveInDirection
import trap_BotMoveToGoal
import trap_BotResetMoveState
import trap_BotFreeGoalState
import trap_BotAllocGoalState
import trap_BotMutateGoalFuzzyLogic
import trap_BotSaveGoalFuzzyLogic
import trap_BotInterbreedGoalFuzzyLogic
import trap_BotFreeItemWeights
import trap_BotLoadItemWeights
import trap_BotUpdateEntityItems
import trap_BotInitLevelItems
import trap_BotSetAvoidGoalTime
import trap_BotAvoidGoalTime
import trap_BotGetLevelItemGoal
import trap_BotGetMapLocationGoal
import trap_BotGetNextCampSpotGoal
import trap_BotItemGoalInVisButNotVisible
import trap_BotTouchingGoal
import trap_BotChooseNBGItem
import trap_BotChooseLTGItem
import trap_BotGetSecondGoal
import trap_BotGetTopGoal
import trap_BotGoalName
import trap_BotDumpGoalStack
import trap_BotDumpAvoidGoals
import trap_BotEmptyGoalStack
import trap_BotPopGoal
import trap_BotPushGoal
import trap_BotResetAvoidGoals
import trap_BotRemoveFromAvoidGoals
import trap_BotResetGoalState
import trap_BotSetChatName
import trap_BotSetChatGender
import trap_BotLoadChatFile
import trap_BotReplaceSynonyms
import trap_UnifyWhiteSpaces
import trap_BotMatchVariable
import trap_BotFindMatch
import trap_StringContains
import trap_BotGetChatMessage
import trap_BotEnterChat
import trap_BotChatLength
import trap_BotReplyChat
import trap_BotNumInitialChats
import trap_BotInitialChat
import trap_BotNumConsoleMessages
import trap_BotNextConsoleMessage
import trap_BotRemoveConsoleMessage
import trap_BotQueueConsoleMessage
import trap_BotFreeChatState
import trap_BotAllocChatState
import trap_Characteristic_String
import trap_Characteristic_BInteger
import trap_Characteristic_Integer
import trap_Characteristic_BFloat
import trap_Characteristic_Float
import trap_BotFreeCharacter
import trap_BotLoadCharacter
import trap_EA_ResetInput
import trap_EA_GetInput
import trap_EA_EndRegular
import trap_EA_ForcePower
import trap_EA_Alt_Attack
import trap_EA_View
import trap_EA_Move
import trap_EA_DelayedJump
import trap_EA_Jump
import trap_EA_SelectWeapon
import trap_EA_MoveRight
import trap_EA_MoveLeft
import trap_EA_MoveBack
import trap_EA_MoveForward
import trap_EA_MoveDown
import trap_EA_MoveUp
import trap_EA_Crouch
import trap_EA_Respawn
import trap_EA_Use
import trap_EA_Attack
import trap_EA_Talk
import trap_EA_Gesture
import trap_EA_Action
import trap_EA_Command
import trap_EA_SayTeam
import trap_EA_Say
import trap_AAS_PredictClientMovement
import trap_AAS_Swimming
import trap_AAS_AlternativeRouteGoals
import trap_AAS_PredictRoute
import trap_AAS_EnableRoutingArea
import trap_AAS_AreaTravelTimeToGoalArea
import trap_AAS_AreaReachability
import trap_AAS_IntForBSPEpairKey
import trap_AAS_FloatForBSPEpairKey
import trap_AAS_VectorForBSPEpairKey
import trap_AAS_ValueForBSPEpairKey
import trap_AAS_NextBSPEntity
import trap_AAS_PointContents
import trap_AAS_TraceAreas
import trap_AAS_PointReachabilityAreaIndex
import trap_AAS_PointAreaNum
import trap_AAS_Time
import trap_AAS_PresenceTypeBoundingBox
import trap_AAS_Initialized
import trap_AAS_EntityInfo
import trap_AAS_AreaInfo
import trap_AAS_BBoxAreas
import trap_BotUserCommand
import trap_BotGetServerCommand
import trap_BotGetSnapshotEntity
import trap_BotLibTest
import trap_BotLibUpdateEntity
import trap_BotLibLoadMap
import trap_BotLibStartFrame
import trap_BotLibDefine
import trap_BotLibVarGet
import trap_BotLibVarSet
import trap_BotLibShutdown
import trap_BotLibSetup
import trap_DebugPolygonDelete
import trap_DebugPolygonCreate
import trap_GetEntityToken
import trap_GetUsercmd
import trap_BotFreeClient
import trap_BotAllocateClient
import trap_EntityContact
import trap_EntitiesInBox
import trap_UnlinkEntity
import trap_LinkEntity
import trap_AreasConnected
import trap_AdjustAreaPortalState
import trap_InPVSIgnorePortals
import trap_InPVS
import trap_PointContents
import trap_Trace
import trap_SetBrushModel
import trap_GetServerinfo
import trap_SetUserinfo
import trap_GetUserinfo
import trap_GetConfigstring
import trap_SetConfigstring
import trap_SendServerCommand
import trap_DropClient
import trap_LocateGameData
import trap_Cvar_VariableStringBuffer
import trap_Cvar_VariableValue
import trap_Cvar_VariableIntegerValue
import trap_Cvar_Set
import trap_Cvar_Update
import trap_Cvar_Register
import trap_SendConsoleCommand
import trap_FS_GetFileList
import trap_FS_FCloseFile
import trap_FS_Write
import trap_FS_Read
import trap_FS_FOpenFile
import trap_Args
import trap_Argv
import trap_Argc
import trap_Milliseconds
import trap_Error
import trap_Printf
import cm_botsattackhumans
import cm_clanLogout_saying
import cm_clanLogin_saying
import cm_teleport_saying
import cm_slay_saying
import cm_sleep_off_saying
import cm_sleep_on_saying
import cm_punish_off_saying
import cm_punish_on_saying
import cm_slap_saying
import cm_silence_off_saying
import cm_silence_on_saying
import cm_protect_off_saying
import cm_protect_on_saying
import cm_terminator_off_saying
import cm_terminator_on_saying
import cm_empower_off_saying
import cm_empower_on_saying
import cm_AdminLogout3_saying
import cm_AdminLogout2_saying
import cm_AdminLogout1_saying
import cm_AdminLogin3_saying
import cm_AdminLogin2_saying
import cm_AdminLogin1_saying
import cm_adminPassword3
import cm_adminPassword2
import cm_adminPassword1
import cm_clanPassword
import cm_voteControl
import cm_emoteControl
import cm_adminControl3
import cm_adminControl2
import cm_adminControl1
import cm_adminLevel3
import cm_adminLevel2
import cm_adminLevel1
import cm_report
import cm_clanTag
import cm_badwords
import sv_maxConnections
import cm_autoprotecttime
import cm_knockmedown
import cm_blacknames
import cm_duelshield
import cm_duelhealth
import cm_duelradius
import cm_duelstatus
import mod_pushall
import cm_samenames
import cm_duelbeginsaberoff
import cm_multiduels
import cm_savedualblade
import cm_dualblade
import cm_motd_time
import cm_motd
import cm_console_motd
import g_austrian
import g_saberDebugPrint
import g_saberDmgDelay_Wound
import g_saberDmgDelay_Idle
import g_saberDmgVelocityScale
import g_timeouttospec
import g_forceDodge
import g_dismember
import g_singlePlayer
import g_enableBreath
import g_enableDust
import g_rankings
import pmove_msec
import pmove_fixed
import g_smoothClients
import g_blueteam
import g_redteam
import g_debugUp
import g_debugRight
import g_debugForward
import g_filterBan
import g_banIPs
import g_teamForceBalance
import g_teamAutoJoin
import g_allowVote
import g_blood
import g_doWarmup
import g_warmup
import g_motd
import g_synchronousClients
import g_adaptRespawn
import g_weaponTeamRespawn
import g_weaponRespawn
import g_debugDamage
import g_debugAlloc
import g_debugMove
import g_inactivity
import g_forcerespawn
import g_quadfactor
import g_knockback
import g_speed
import g_gravity
import g_needpass
import g_password
import g_friendlySaber
import g_friendlyFire
import g_saberInterpolate
import g_capturelimit
import g_timelimit
import g_duel_fraglimit
import g_fraglimit
import g_duelWeaponDisable
import g_fraglimitVoteCorrection
import g_allowDuelSuicide
import g_weaponDisable
import g_forcePowerDisable
import g_spawnInvulnerability
import g_forceRegenTime
import g_saberDamageScale
import g_slowmoDuelEnd
import g_logClientInfo
import g_saberBoxTraceSize
import g_saberAlwaysBoxTrace
import g_saberGhoul2Collision
import g_saberTraceSaberFirst
import g_saberLockFactor
import g_saberLocking
import g_privateDuel
import g_forceBasedTeams
import g_maxForceRank
import g_dmflags
import g_autoMapCycle
import g_trueJedi
import g_restarted
import g_maxGameClients
import g_maxclients
import g_cheats
import g_dedicated
import g_gametype
import g_entities
import level
import Pickup_Team
import CheckTeamStatus
import TeamplayInfoMessage
import Team_GetLocationMsg
import Team_GetLocation
import SelectSagaSpawnPoint
import SelectCTFSpawnPoint
import Team_FreeEntity
import Team_ReturnFlag
import Team_InitGame
import Team_CheckHurtCarrier
import Team_FragBonuses
import Team_DroppedFlagThink
import AddTeamScore
import TeamColorString
import OtherTeamName
import TeamName
import OtherTeam
import BotAIStartFrame
import BotAIShutdownClient
import BotAISetupClient
import BotAILoadMap
import BotAIShutdown
import BotAISetup
import B_CleanupAlloc
import B_InitAlloc
import InFieldOfVision
import BotOrder
import OrgVisible
import InitSagaMode
import G_ClearClientLog
import G_LogExit
import G_LogWeaponOutput
import G_LogWeaponInit
import G_LogWeaponItem
import G_LogWeaponPowerup
import G_LogWeaponFrag
import G_LogWeaponDeath
import G_LogWeaponKill
import G_LogWeaponDamage
import G_LogWeaponFire
import G_LogWeaponPickup
import Jedi_DodgeEvasion
import ForceTelepathy
import ForceThrow
import ForceSeeing
import ForceTeamForceReplenish
import ForceTeamHeal
import ForceAbsorb
import ForceProtect
import ForceGrip
import ForceRage
import ForceSpeed
import ForceHeal
import ForcePowerUsableOn
import WP_ForcePowersUpdate
import WP_SpawnInitForcePowers
import WP_InitForcePowers
import WP_SaberInitBladeData
import WP_SaberCanBlock
import WP_SaberPositionUpdate
import WP_ForcePowerStop
import HasSetSaberOnly
import G_PreDefSound
import G_RefreshNextMap
import G_DoesMapSupportGametype
import BotInterbreedEndMatch
import Svcmd_BotList_f
import Svcmd_AddBot_f
import G_BotConnect
import G_RemoveQueuedBotBegin
import G_CheckBotSpawn
import G_GetBotInfoByName
import G_GetBotInfoByNumber
import G_InitBots
import UpdateTournamentInfo
import G_WriteSessionData
import G_InitWorldSession
import G_InitSessionData
import G_ReadSessionData
import Svcmd_GameMem_f
import G_InitMemory
import G_Alloc
import Team_CheckDroppedItem
import OnSameTeam
import ClientCommand
import ClientBegin
import ClientDisconnect
import ClientUserinfoChanged
import ClientConnect
import G_GetStripEdString
import G_Error
import G_Printf
import SendScoreboardMessageToAllClients
import G_LogPrintf
import G_RunThink
import CheckTeamLeader
import SetLeader
import FindIntermissionPoint
import gSlowMoDuelTime
import gDoSlowMoDuel
import g_ff_objectives
import DeathmatchScoreboardMessage
import G_SetStats
import MoveClientToIntermission
import BlowDetpacks
import FireWeapon
import G_FilterPacket
import G_ProcessIPBans
import ConsoleCommand
import gJMSaberEnt
import SpotWouldTelefrag
import CalculateRanks
import AddScore
import player_die
import ClientSpawn
import InitBodyQue
import BeginIntermission
import respawn
import CopyToBodyQue
import SelectSpawnPoint
import SetClientViewAngle
import PickTeam
import TeamLeader
import TeamCount
import CheckGauntletAttack
import SnapVectorTowards
import CalcMuzzlePoint
import LogAccuracyHit
import WP_FireGenericBlasterMissile
import WP_FireTurretMissile
import G_CreateExampleAnimEnt
import G_PlayerBecomeATST
import ATST_ManageDamageBoxes
import TeleportPlayer
import trigger_teleporter_touch
import Touch_DoorTrigger
import G_RunMover
import WP_FireBlasterMissile
import G_ExplodeMissile
import G_BounceProjectile
import CreateMissile
import G_RunMissile
import G_ReflectMissile
import gGAvoidDismember
import G_CheckForDismemberment
import ExplodeDeath
import TossClientCubes
import TossClientItems
import TossClientWeapon
import body_die
import G_RadiusDamage
import G_Damage
import CanDamage
import trap_G2API_SetBoneAnim
import trap_G2API_GetGLAName
import trap_G2API_SetBoneAngles
import trap_G2API_CollisionDetect
import trap_G2API_CleanGhoul2Models
import trap_G2API_RemoveGhoul2Model
import trap_G2API_HasGhoul2ModelOnIndex
import trap_G2API_DuplicateGhoul2Instance
import trap_G2API_CopySpecificGhoul2Model
import trap_G2API_CopyGhoul2Instance
import trap_G2API_SetBoltInfo
import trap_G2API_AddBolt
import trap_G2API_InitGhoul2Model
import trap_G2API_GetBoltMatrix_NoRecNoRot
import trap_G2API_GetBoltMatrix_NoReconstruct
import trap_G2API_GetBoltMatrix
import trap_G2_HaveWeGhoul2Models
import trap_G2_SetGhoul2ModelIndexes
import trap_G2_ListModelBones
import trap_G2_ListModelSurfaces
import G_SkinIndex
import BuildShaderStateConfig
import AddRemap
import G_SetOrigin
import G_AddEvent
import G_AddPredictableEvent
import vtos
import tv
import G_RunObject
import G_TouchSolids
import G_EntitiesFree
import G_FreeEntity
import G_KillG2Queue
import G_SendG2KillQueue
import TryUse
import G_EntitySound
import G_SoundAtLoc
import G_Sound
import G_MuteSound
import G_ScreenShake
import G_PlayEffect
import G_TempEntity
import G_Spawn
import G_InitGentity
import G_SetAngles
import G_SetMovedir
import G_UseTargets
import G_PickTarget
import G_RadiusList
import G_Find
import G_KillBox
import G_TeamCommand
import G_EffectIndex
import G_SoundIndex
import G_ModelIndex
import SaveRegisteredItems
import RegisterItem
import ClearRegisteredItems
import Touch_Item
import Add_Ammo
import ArmorIndex
import Think_Weapon
import FinishSpawningItem
import G_SpawnItem
import SetRespawn
import LaunchItem
import Drop_Item
import PrecacheItem
import UseHoldableItem
import ResetItem
import RespawnItem
import G_RunItem
import G_CheckTeamItems
import ItemUse_MedPack
import ItemUse_Seeker
import ItemUse_Sentry
import ItemUse_Shield
import ItemUse_Binoculars
import G_GetDuelWinner
import Cmd_EngageDuel_f
import Cmd_ToggleSaber_f
import G_ItemUsable
import Cmd_SaberAttackCycle_f
import Cmd_FollowCycle_f
import SetTeam
import BroadcastTeamChange
import StopFollowing
import Cmd_Score_f
import G_NewString
import G_SpawnEntitiesFromString
import G_SpawnVector
import G_SpawnInt
import G_SpawnFloat
import G_SpawnString
import gEscapeTime
import gEscaping
import g2SaberInstance
import precachedKyle
import forcePowerDarkLight
import WeaponAttackAnim
import WeaponReadyAnim
import BG_OutOfMemory
import BG_StringAlloc
import BG_TempFree
import BG_TempAlloc
import BG_AllocUnaligned
import BG_Alloc
import BG_CanUseFPNow
import BG_HasYsalamiri
import BG_GetItemIndexByTag
import BG_ParseAnimationFile
import BG_PlayerTouchesItem
import BG_PlayerStateToEntityStateExtraPolate
import BG_PlayerStateToEntityState
import BG_TouchJumpPad
import BG_AddPredictableEventToPlayerstate
import BG_EvaluateTrajectoryDelta
import BG_EvaluateTrajectory
import BG_ForcePowerDrain
import BG_SaberStartTransAnim
import BG_InDeathAnim
import BG_InRoll
import BG_KnockawayForParry
import BG_BrokenParryForParry
import BG_BrokenParryForAttack
import BG_SaberInSpecialAttack
import BG_SpinningSaberAnim
import BG_FlippingAnim
import BG_SaberInIdle
import BG_SaberInSpecial
import BG_SaberInAttack
import BG_DirectFlippingAnim
import BG_InSaberStandAnim
import BG_InSpecialJump
import BG_LegalizedForcePowers
import saberMoveData
import BG_CanItemBeGrabbed
import BG_FindItemForHoldable
import BG_FindItemForPowerup
import BG_FindItemForWeapon
import BG_FindItem
import vectoyaw
import bg_numItems
import bg_itemlist
import Pmove
import PM_UpdateViewAngles
import pm
import bgForcePowerCost
import forceMasteryPoints
import forceMasteryLevels
import bgGlobalAnimations
import BGPAFtextLoaded
import forcePowerSorted
import WP_MuzzlePoint
import ammoData
import weaponData
import GetStringForID
import GetIDForString
import Q_irand
import irand
import flrand
import Rand_Init
import Com_Printf
import Com_Error
import Info_NextPair
import Info_Validate
import Info_SetValueForKey_Big
import Info_SetValueForKey
import Info_RemoveKey_big
import Info_RemoveKey
import Info_ValueForKey
import va
import Q_CleanStr
import Q_PrintStrlen
import Q_strcat
import Q_strncpyz
import Q_strrchr
import Q_strupr
import Q_strlwr
import Q_stricmpn
import Q_strncmp
import Q_stricmp
import Q_isalpha
import Q_isupper
import Q_islower
import Q_isprint
import Com_sprintf
import Parse3DMatrix
import Parse2DMatrix
import Parse1DMatrix
import SkipRestOfLine
import SkipBracedSection
import COM_MatchToken
import COM_ParseVec4
import COM_ParseFloat
import COM_ParseInt
import COM_ParseString
import COM_ParseWarning
import COM_ParseError
import COM_Compress
import COM_ParseExt
import COM_Parse
import SkipWhitespace
import COM_GetCurrentParseLine
import COM_BeginParseSession
import COM_DefaultExtension
import COM_StripExtension
import COM_SkipPath
import Com_Clamp
import PerpendicularVector
import AngleVectors
import MatrixMultiply
import MakeNormalVectors
import RotateAroundDirection
import RotatePointAroundVector
import ProjectPointOnPlane
import PlaneFromPoints
import AngleDelta
import AngleNormalize180
import AngleNormalize360
import AnglesSubtract
import AngleSubtract
import LerpAngle
import AngleMod
import BoxOnPlaneSide
import SetPlaneSignbits
import AxisCopy
import AxisClear
import AnglesToAxis
import vectoangles
import Q_crandom
import Q_random
import Q_rand
import Q_acos
import Q_log2
import VectorRotate
import Vector4Scale
import VectorNormalize2
import VectorNormalize
import CrossProduct
import VectorInverse
import VectorNormalizeFast
import DistanceSquared
import Distance
import VectorLengthSquared
import VectorLength
import VectorCompare
import AddPointToBounds
import ClearBounds
import RadiusFromBounds
import NormalizeColor
import ColorBytes4
import ColorBytes3
import _VectorMA
import _VectorScale
import _VectorCopy
import _VectorAdd
import _VectorSubtract
import _DotProduct
import ByteToDir
import DirToByte
import powf
import ClampShort
import ClampChar
import Q_rsqrt
import Q_fabs
import axisDefault
import vec3_origin
import g_color_table
import colorDkBlue
import colorLtBlue
import colorDkGrey
import colorMdGrey
import colorLtGrey
import colorWhite
import colorCyan
import colorMagenta
import colorYellow
import colorBlue
import colorGreen
import colorRed
import colorBlack
import colorTable
import bytedirs
import Com_Memcpy
import Com_Memset
import Hunk_Alloc
import forceSpeedLevels
import FloatSwap
import LongSwap
import ShortSwap
import acos
import fabs
import abs
import tan
import atan2
import cos
import sin
import sqrt
import floor
import ceil
import memcpy
import memset
import memmove
import sscanf
import vsprintf
import _atoi
import atoi
import _atof
import atof
import toupper
import tolower
import strncpy
import strstr
import strchr
import strcmp
import strcpy
import strcat
import strlen
import rand
import srand
import qsort
lit
align 1
LABELV $838
char 1 115
char 1 111
char 1 117
char 1 110
char 1 100
char 1 47
char 1 119
char 1 101
char 1 97
char 1 112
char 1 111
char 1 110
char 1 115
char 1 47
char 1 109
char 1 101
char 1 108
char 1 101
char 1 101
char 1 47
char 1 112
char 1 117
char 1 110
char 1 99
char 1 104
char 1 37
char 1 100
char 1 0
align 1
LABELV $700
char 1 99
char 1 101
char 1 110
char 1 116
char 1 101
char 1 114
char 1 118
char 1 105
char 1 101
char 1 119
char 1 10
char 1 0
align 1
LABELV $631
char 1 80
char 1 76
char 1 68
char 1 85
char 1 69
char 1 76
char 1 83
char 1 84
char 1 79
char 1 80
char 1 0
align 1
LABELV $630
char 1 112
char 1 114
char 1 105
char 1 110
char 1 116
char 1 32
char 1 34
char 1 37
char 1 115
char 1 10
char 1 34
char 1 0
align 1
LABELV $622
char 1 80
char 1 76
char 1 68
char 1 85
char 1 69
char 1 76
char 1 84
char 1 73
char 1 69
char 1 0
align 1
LABELV $621
char 1 99
char 1 112
char 1 32
char 1 34
char 1 37
char 1 115
char 1 10
char 1 34
char 1 0
align 1
LABELV $617
char 1 112
char 1 114
char 1 105
char 1 110
char 1 116
char 1 32
char 1 34
char 1 37
char 1 115
char 1 32
char 1 37
char 1 115
char 1 32
char 1 37
char 1 115
char 1 33
char 1 10
char 1 34
char 1 0
align 1
LABELV $616
char 1 80
char 1 76
char 1 68
char 1 85
char 1 69
char 1 76
char 1 87
char 1 73
char 1 78
char 1 78
char 1 69
char 1 82
char 1 0
align 1
LABELV $615
char 1 83
char 1 86
char 1 73
char 1 78
char 1 71
char 1 65
char 1 77
char 1 69
char 1 0
align 1
LABELV $614
char 1 99
char 1 112
char 1 32
char 1 34
char 1 37
char 1 115
char 1 32
char 1 37
char 1 115
char 1 32
char 1 37
char 1 115
char 1 33
char 1 10
char 1 34
char 1 0
align 1
LABELV $601
char 1 112
char 1 114
char 1 105
char 1 110
char 1 116
char 1 32
char 1 34
char 1 37
char 1 115
char 1 32
char 1 94
char 1 55
char 1 115
char 1 117
char 1 114
char 1 118
char 1 105
char 1 118
char 1 101
char 1 100
char 1 32
char 1 119
char 1 105
char 1 116
char 1 104
char 1 32
char 1 94
char 1 53
char 1 37
char 1 100
char 1 32
char 1 94
char 1 55
char 1 104
char 1 101
char 1 97
char 1 108
char 1 116
char 1 104
char 1 32
char 1 97
char 1 110
char 1 100
char 1 32
char 1 94
char 1 53
char 1 37
char 1 100
char 1 32
char 1 94
char 1 55
char 1 115
char 1 104
char 1 105
char 1 101
char 1 108
char 1 100
char 1 10
char 1 34
char 1 0
align 1
LABELV $581
char 1 115
char 1 111
char 1 117
char 1 110
char 1 100
char 1 47
char 1 119
char 1 101
char 1 97
char 1 112
char 1 111
char 1 110
char 1 115
char 1 47
char 1 115
char 1 97
char 1 98
char 1 101
char 1 114
char 1 47
char 1 115
char 1 97
char 1 98
char 1 101
char 1 114
char 1 111
char 1 110
char 1 46
char 1 119
char 1 97
char 1 118
char 1 0
align 1
LABELV $580
char 1 115
char 1 111
char 1 117
char 1 110
char 1 100
char 1 47
char 1 119
char 1 101
char 1 97
char 1 112
char 1 111
char 1 110
char 1 115
char 1 47
char 1 115
char 1 97
char 1 98
char 1 101
char 1 114
char 1 47
char 1 115
char 1 97
char 1 98
char 1 101
char 1 114
char 1 111
char 1 102
char 1 102
char 1 113
char 1 117
char 1 105
char 1 99
char 1 107
char 1 46
char 1 119
char 1 97
char 1 118
char 1 0
align 1
LABELV $563
char 1 115
char 1 112
char 1 101
char 1 99
char 1 116
char 1 97
char 1 116
char 1 111
char 1 114
char 1 0
align 1
LABELV $510
char 1 51
char 1 51
char 1 0
align 1
LABELV $506
char 1 56
char 1 0
align 1
LABELV $505
char 1 112
char 1 109
char 1 111
char 1 118
char 1 101
char 1 95
char 1 109
char 1 115
char 1 101
char 1 99
char 1 0
align 1
LABELV $398
char 1 67
char 1 108
char 1 97
char 1 110
char 1 32
char 1 77
char 1 111
char 1 100
char 1 32
char 1 118
char 1 50
char 1 46
char 1 48
char 1 54
char 1 0
align 1
LABELV $397
char 1 99
char 1 112
char 1 32
char 1 34
char 1 94
char 1 49
char 1 37
char 1 115
char 1 10
char 1 37
char 1 115
char 1 10
char 1 84
char 1 105
char 1 109
char 1 101
char 1 76
char 1 101
char 1 102
char 1 116
char 1 58
char 1 32
char 1 94
char 1 51
char 1 37
char 1 100
char 1 34
char 1 0
align 1
LABELV $396
char 1 99
char 1 109
char 1 95
char 1 109
char 1 111
char 1 116
char 1 100
char 1 0
align 1
LABELV $391
char 1 112
char 1 114
char 1 105
char 1 110
char 1 116
char 1 32
char 1 34
char 1 84
char 1 104
char 1 101
char 1 32
char 1 99
char 1 108
char 1 97
char 1 110
char 1 32
char 1 110
char 1 97
char 1 109
char 1 101
char 1 32
char 1 121
char 1 111
char 1 117
char 1 32
char 1 119
char 1 101
char 1 114
char 1 101
char 1 32
char 1 117
char 1 115
char 1 105
char 1 110
char 1 103
char 1 32
char 1 119
char 1 97
char 1 115
char 1 32
char 1 112
char 1 114
char 1 111
char 1 116
char 1 101
char 1 99
char 1 116
char 1 101
char 1 100
char 1 44
char 1 32
char 1 121
char 1 111
char 1 117
char 1 32
char 1 104
char 1 97
char 1 118
char 1 101
char 1 32
char 1 98
char 1 101
char 1 101
char 1 110
char 1 32
char 1 102
char 1 111
char 1 114
char 1 99
char 1 101
char 1 102
char 1 117
char 1 108
char 1 108
char 1 121
char 1 32
char 1 114
char 1 101
char 1 110
char 1 97
char 1 109
char 1 101
char 1 100
char 1 46
char 1 10
char 1 34
char 1 0
align 1
LABELV $390
char 1 80
char 1 97
char 1 100
char 1 97
char 1 119
char 1 97
char 1 110
char 1 0
align 1
LABELV $387
char 1 99
char 1 112
char 1 32
char 1 34
char 1 94
char 1 49
char 1 89
char 1 111
char 1 117
char 1 114
char 1 32
char 1 99
char 1 108
char 1 97
char 1 110
char 1 32
char 1 116
char 1 97
char 1 103
char 1 32
char 1 105
char 1 115
char 1 32
char 1 114
char 1 101
char 1 115
char 1 101
char 1 114
char 1 118
char 1 101
char 1 100
char 1 32
char 1 102
char 1 111
char 1 114
char 1 32
char 1 109
char 1 101
char 1 109
char 1 98
char 1 101
char 1 114
char 1 115
char 1 32
char 1 111
char 1 110
char 1 108
char 1 121
char 1 33
char 1 10
char 1 94
char 1 49
char 1 80
char 1 108
char 1 101
char 1 97
char 1 115
char 1 101
char 1 32
char 1 99
char 1 104
char 1 97
char 1 110
char 1 103
char 1 101
char 1 32
char 1 105
char 1 116
char 1 44
char 1 32
char 1 111
char 1 114
char 1 32
char 1 108
char 1 111
char 1 103
char 1 105
char 1 110
char 1 32
char 1 105
char 1 110
char 1 32
char 1 94
char 1 51
char 1 37
char 1 100
char 1 32
char 1 115
char 1 101
char 1 99
char 1 111
char 1 110
char 1 100
char 1 115
char 1 94
char 1 49
char 1 44
char 1 10
char 1 94
char 1 49
char 1 111
char 1 114
char 1 32
char 1 121
char 1 111
char 1 117
char 1 114
char 1 32
char 1 99
char 1 108
char 1 97
char 1 110
char 1 32
char 1 110
char 1 97
char 1 109
char 1 101
char 1 32
char 1 119
char 1 105
char 1 108
char 1 108
char 1 32
char 1 98
char 1 101
char 1 32
char 1 114
char 1 101
char 1 109
char 1 111
char 1 118
char 1 101
char 1 100
char 1 46
char 1 10
char 1 34
char 1 0
align 1
LABELV $355
char 1 99
char 1 112
char 1 32
char 1 34
char 1 84
char 1 101
char 1 110
char 1 32
char 1 115
char 1 101
char 1 99
char 1 111
char 1 110
char 1 100
char 1 115
char 1 32
char 1 117
char 1 110
char 1 116
char 1 105
char 1 108
char 1 32
char 1 105
char 1 110
char 1 97
char 1 99
char 1 116
char 1 105
char 1 118
char 1 105
char 1 116
char 1 121
char 1 32
char 1 100
char 1 114
char 1 111
char 1 112
char 1 33
char 1 10
char 1 34
char 1 0
align 1
LABELV $351
char 1 68
char 1 114
char 1 111
char 1 112
char 1 112
char 1 101
char 1 100
char 1 32
char 1 100
char 1 117
char 1 101
char 1 32
char 1 116
char 1 111
char 1 32
char 1 105
char 1 110
char 1 97
char 1 99
char 1 116
char 1 105
char 1 118
char 1 105
char 1 116
char 1 121
char 1 0
align 1
LABELV $135
char 1 115
char 1 111
char 1 117
char 1 110
char 1 100
char 1 47
char 1 112
char 1 108
char 1 97
char 1 121
char 1 101
char 1 114
char 1 47
char 1 103
char 1 117
char 1 114
char 1 112
char 1 50
char 1 46
char 1 119
char 1 97
char 1 118
char 1 0
align 1
LABELV $132
char 1 115
char 1 111
char 1 117
char 1 110
char 1 100
char 1 47
char 1 112
char 1 108
char 1 97
char 1 121
char 1 101
char 1 114
char 1 47
char 1 103
char 1 117
char 1 114
char 1 112
char 1 49
char 1 46
char 1 119
char 1 97
char 1 118
char 1 0
